Learn to set up an API communication channel for your bot in NLX's Dialog Studio

Create API channel

Easily create an API channel for your bot in the Channels tab:

  • Expand API option

  • Select + Create channel link

  • Click Create channel button

Optional API fields

Two optional fields are unique to the API channel:

  • API key

  • Whitelisted domains

Need context on the other fields? See Bots: Channels

Chat SDK

We recommend using our official Chat SDK to set up communication with API channels from within a web frontend. This contains:

  • A vanilla JavaScript function for connecting to a bot, maintaining a conversation, and subscribing to new messages

  • Our React hook to operate inside a React app without providing styling

  • A fully-styled, chat widget that is customizable to fit your style guide

Last updated