UNPKG

@kandy-io/uc-sdk-3.x

Version:
41 lines (29 loc) 1.3 kB
--- layout: page categories: quickstarts-javascript title: Using UC on KBS permalink: /quickstarts/javascript/uc/Using%20UC%20on%20KBS --- # Using UC on KBS To use the UC on Kandy Business Solutions, you'll need to ensure you do the following. ## Use the UC SDK Note that there are different SDKs for different kinds of solutions. The SDK you'll need is the Kandy UC SDK. You can find it in the [Releases page](../../releases). ## Configuration You need to configure the SDK to point to the proper backend. Specifically, you need to put this information in the `authentication` configuration. Here's an example that contains the required configuration for KBS. ```javascript // Initialize an instance of Kandy.js. import { create } from kandy const kandy = create({ authentication: { subscription: { server: 'kbs-na-kl.kandy.io' }, websocket: { server: 'kbs-na-kl.kandy.io' } } }); ``` You can learn more about other configuration options in [Configuration Quickstart](Configurations) ## Login with your subscribers The next step is to authenticate on the SDK. You can use your KBS subscribers's credentials to do that. You can learn more about authenticating on the SDK in the [User Connect Quickstart](User%20Connect)