You can get your API_KEY and API_SECRET in your private area, here.
USER_ID is some unique identifier of the user in your system.
Note: Every chat token corresponds to one specific user only.
Going to production
When moving from the Sandbox environment to production you will need to implement your own authentication server.
This server will supply the various clients (Web, Android, and iOS) with a valid Access Token so that they can use the service.
For that you will need:
API_KEY, and API_SECRET - can be retrieved in your private area once you login
Your own working authentication server
Create a project
To create a project we recommended using the following stack: React + TypeScript + ChatSDK.
Create an empty React + Typescript project
npx create-react-app my-app --template typescript
Add chat SDK library to your project
Create .npmrc file. In the project’s root folder
Put your Access Token inside //registry.npmjs.org/:_authToken=YOUR_ACCESS_TOKEN.
Install Chat SDK via npm i @sscale/chatsdk.
For more information on NPM installation look here.