Quick Start

SendBird helps you to implement real-time chat to any application with speed and efficiency. Our Unity SDK provides you with various methods to initialize, configure and build the chat from the client side - no server side implementation required because our reliable infra management service is delivered with the SDK. This section presents a brief overview of the SDK’s functionalities and logic, then let you go through the preliminary steps of implementing SendBird in your own application


Step 1: Creating a SendBird Application

The first thing to do is to sign in to the SendBird Dashboard and create a SendBird application. If you do not have an account yet, you can sign in with Google, GitHub, or create a new account.

You can create one application per service, regardless of the platform. For example, an app released in both Android and iOS requires only one application to be created in the Dashboard.

All users within the same SendBird application can communicate with each other, across all platforms. This means users using iOS, Android, web clients, etc. can all chat with one another. However, users in different SendBird applications cannot talk to each other.


Step 2: Checking Requirements

SendBird Unity SDK is designed and tested on Mono/.NET 2.0 platform and Unity 5.x.x or higher.


Step 3: Downloading Latest .NET SDK

WebSocket Library

SendBird .NET SDK uses websocket-sharp for websocket connection. You must include websocket-sharp.dll as well as SendBird.dll or SendBird.Unity.dll. You can find websocket-sharp.dll on the same Github repository of SendBird .NET SDK.


Step 4: Downloading Sample UI


Step 5: Unity Dispatcher

SendBird Unity SDK uses dispatcher pattern to avoid multi-threading issue. This dispatcher must be initialized along with SendBirdClient.Init.

void Awake() {
    SendBirdClient.SetupUnityDispatcher (gameObject); // Set SendBird gameobject to DontDestroyOnLoad.
    StartCoroutine (SendBirdClient.StartUnityDispatcher); // Start a Unity dispatcher.

    SendBirdClient.Init ("A7A2672C-AD11-11E4-8DAA-0A18B21C2D82"); // SendBird Sample Application ID
    ...
}