Install and configure the Chat SDK

This page provides a step-by-step guide that demonstrates how to build and configure an in-app chat using Sendbird Chat SDK. Sendbird Chat SDK can be installed through either npm or Bower.

Step 1: Create a Sendbird application from your dashboard

A Sendbird application comprises everything required in a chat service including users, message, and channels. To create an application:

  1. Go to the Sendbird Dashboard and enter your email and password, and create a new account. You can also sign up with a Google account.
  2. When prompted by the setup wizard, enter your organization information to manage Sendbird applications.
  3. Lastly, when your dashboard home appears after completing setup, click Create + at the top-right corner.

Only one Sendbird application can be integrated per app for your service regardless of the platform. All users within your Sendbird application can communicate with each other across all platforms. This means that your iOS, Android, and web client app users can all send and receive messages with one another without any further setup.

Note: All data is limited to the scope of a single application, and users in different Sendbird applications can't chat with each other.

Step 2: Install the Chat SDK

Installing the Chat SDK is simple if you’re familiar with using external libraries or SDK’s in your projects. You can install the Chat SDK with npm or Bower by entering the command below on the command line.

To use npm to install the Chat SDK, Node.js must be first installed on your system.

Light Color Skin
$ npm install sendbird
Light Color Skin
$ bower install sendbird

Or download the latest Chat SDK for JavaScript from the following link, copy the Chat SDK to your project classpath (most commonly the lib/ directory), and then include the Chat SDK file to your working file.

Download latest SDK

Light Color Skin
<script src="lib/SendBird.min.js"></script>