Desk / JavaScript
Home
/
Desk
/
JavaScript

Install and configure the Desk SDK

This page explains how to create a Sendbird application in your dashboard and install the Desk SDK. Follow the simple steps below to build the Desk SDK into your client app.


Step 1: Create a Sendbird application from your dashboard

A Sendbird application comprises everything required for your Desk service including users, message, and channels. Create an application to integrate it with the Desk SDK later on.

  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. This means that all your customers from iOS, Android, and web client apps can submit a ticket and live-chat with agents at the same application. It should be noted that all data is limited to the scope of a single application, and agents can’t support customers from a different Sendbird application.

Note: Once the application is created, contact sales to enable Sendbird Desk in your dashboard.


Step 2: Download and install the Desk SDK

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

Note: You can automatically download our Desk SDK with just an npm install command by adding sendbird-desk dependency to the package.json file of your project.

Light Color Skin
Copy
# npm
~$ cd /path/to/your-project
~$ npm install --save sendbird-desk

Alternatively, you can download the latest Desk SDK for Android from the link below. Copy the Desk SDK into your libs/ folder, and make sure you include the library in your working file as well.

Download latest SDK

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