The Official Channel SDK Loader for Web
npm install @channel.io/channel-web-sdk-loaderyarn add @channel.io/channel-web-sdk-loaderpnpm install @channel.io/channel-web-sdk-loader
⚠️ Note: This SDK is designed for client-side use only and should not be invoked on the server-side.
import * as ChannelService from '@channel.io/channel-web-sdk-loader';ChannelService.loadScript()ChannelService.boot({
pluginKey: 'YOUR_PLUGIN_KEY'
})- Obtain your plugin key from the Desk application.
- For additional information, please consult the the official documentation.