Back to Available Channels Unblu is a Conversational Platform for Financial Services. To set up Unblu as a channel, you will need to create an External Integration bot in Unblu, create a ‘Named Area’ and map this Named Area to your AI Agent.Documentation Index
Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Channel Integration
Step 1: Create a Named Area
Named Areas in Unblu are used to identify the origins of the chat requests from your website. The AI Agent should be associated with a Named Area to ensure that it responds to users only when the chat has originated from the sections of your website associated with this Named Area. This mapping is optional if you are enabling the Unblu channel for a single AI Agent alone.- Login to your Unblu Account Administration.
- Under the Named Areas module, select the ‘New named area’ option.
- Provide all the requested information.
- Make a note of the name of the Named Area you have created.
Step 2: Create Unblu Bot
An assistant should be created in your Unblu account for integrating it with your current AI Agent. The Unblu Bot can be directly created from the Platform.- Create or Open the assistant in the Platform.
- Go to Channels & Flows > Channels > Digital > All > and select Unblu.
- Proceed to the Configurations tab and provide the following details for creating an assistant in your Unblu account:
- Unblu Host URL -the URL of your Unblu application. For example, use https://www.unblu.com/ for the Unblu cloud.
- Unblu Account Username -Provide your Unblu account username.
- Unblu Account Password - Provide the password associated with your Unblu username.
- Unblu Bot Name - Provide a name you would like to use for your Unblu bot.
- Unblu Bot Description - Provide a short description of your Unblu bot.
- Bot Person - Provide a Name to represent the Unblu bot to your users.
- Secret Key - Provide a confidential key to secure the communication between Unblu and AI Agent.
- Named Area - Provide the Named Area you would like to associate with your AI Agent. AI Agent will respond only to the user chats that have originated in the Named Area that you have selected here. This field is optional if you are enabling Unblu channel for a single AI Agent alone.
- Select to Enable the channel and Save your settings.
- Enable the channel.

Additional Instructions
For the seamless exchange of information from Unblu to Platform, a few additional steps need to be performed. For a detailed document on the implementation, refer here.- The host URL where the Unblu SDK would be hosted needs to be added to the Domain section of your Unblu Account.
- From your Unblu Account, API Keys section, make a note of the API Key.
- Configure the Unblu SDK to give access to AI Agent, following the steps given below.
- Open the Unblu SDK HTML file. Ensure that the following attributes are set:
- In the
<head>the meta tag should look thus:<meta name="unblu:named-area" content="your-namedArea-Id>" />This is the named area that you created in Step 1 above. - Script tag to populate the visitor information needs point to the Unblu host:
/unblu/js-api/v2/visitor/visitor-api.min.js"> - Invoke the function
setVisitorDatato pass the visitor data to AI Agent. ThevisitorDatamust be in the string format. To pass an object use Stringify.
- In the
/unblu/visitor.js?x-unblu-apikey=<your-unblu-apikey>">
The entire Unblu SDK HTML file would look like this:
usercontext.customData along with the user information for each message from Unblu,
Following is the structure of the usercontext.customData
Special Notes
There are multiple functionalities that can be achieved by the integration of Unblu channel with AI Agent- When mapping a named area to a bot, multiple named areas can be mapped. This way a single AI Agent has the ability to accept Unblu dialog offer requests from different origins like SDKs or namedAreas.
- Also, the named area mapping is optional if you are enabling the Unblu channel for a single AI Agent.
- You can redirect user conversations to agents by adding an agent transfer node in the dialog flow. You need not enable the Agent Transfer or BotKit specifically for this Channel. Having an agent transfer node is sufficient.
- The user information for each message from Unblu is available in the
usercontext.customDataand you can use it for further processing. This information includes deviceInfo, authInfo, joinedTime of the user. See here for how to use context object.