Developers
Every platform, one chat SDK
Supported platforms
Quick Start
From init to first message, in one flow
Every SDK follows the same flow: initialize → connect → subscribe to a channel → send a message. Copy the code below and your first message lands.
Install with a single npm install ncloudchat. TypeScript definitions are included.
// npm install ncloudchat
import { Chat } from "ncloudchat";
// 1. Initialize with your project ID
const nc = new Chat();
nc.initialize("YOUR_PROJECT_ID");
// 2. Connect as a user
await nc.connect({ id: "user-001", name: "Aria" });
// 3. Create and subscribe to a channel
const channel = await nc.createChannel({
type: "PUBLIC",
name: "general",
});
await nc.subscribe(channel.id);
// 4. Bind the message event
nc.bind("onMessageReceived", (channelId, message) => {
console.log(channelId, message);
});
// 5. Send your first message
await nc.sendMessage(channel.id, {
type: "text",
message: "Hello from sendstage!",
});
The Android (Kotlin) and Unity SDKs follow the same flow: initialize → connect → subscribe → send.
Getting started
Three steps is all it takes
No infrastructure to set up — go from a new project to your first message.
- 1Sign up free at dash.ncloudchat.com and create a project to get your project ID.
- 2Install the SDK, initialize it with your project ID, and connect with a user ID.
- 3Create a channel, subscribe, and send your first message. Watch it appear in the dashboard.
Developer experience
An SDK built for developers
Types, events, and reconnection — the SDK handles the tedious parts of building chat.
TypeScript types included
Type definitions ship inside the ncloudchat package, so autocomplete and type checking work out of the box.
Event-driven architecture
Bind events like onMessageReceived and onMemberJoined to handle messages, joins, leaves, and bans in real time.
Automatic reconnection
When the network drops, the socket retries the connection automatically and reports status through reconnect events.
REST API
Send messages and manage channels and users straight from your server — no client SDK required.
Supported environments
The same chat, everywhere
From web browsers to mobile apps and game engines, everything connects to one backend.
JavaScript
- Chrome 16+ · Edge 13+ · Safari 7+
- Firefox 11+ · Opera 12.1+
- iOS Safari 7+ · Android Browser 4.4+
iOS
- iOS 13.0 or later
- Swift 5+ · Xcode 13+
- Installs via Swift Package Manager
Android
- SDK for Android (Kotlin) apps
- Works together with the UI Kit
Unity
- SDK for Unity game clients
- Pair it with the Express Message fast path for game chat