Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots's Approach Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Platform
How to Access Bot Builder
Working with Bot Builder
Building your first Bot
Getting Started with Building Bots
Using the Dialog Builder Tool
Creating a Simple Bot
Release Notes
Latest Updates
Older Releases
Bot Builder
Creating a Bot
Dialog Task
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Form Node
Logic Node
Message Nodes
Confirmation Nodes
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Managing Dialogs
User Prompts
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Forms
Digital Views
Knowledge Graph
Importing and Exporting
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Machine Learning
ML Model
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Ranking and Resolver
NLP Detection
Advanced NLP Configurations
Bot Intelligence
Context Management
Session and Context Variables
Context Object
Dialog Management
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Default Conversations
Default Standard Responses
Channel Enablement
Test & Debug
Talk to Bot
Utterance Testing
Batch Testing
Record Conversations
Publishing your Bot
Analyzing your Bot
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Data Table
Universal Bots
Enabling Languages
Smart Bots
Sample Bots
Travel Planning
Flight Search
Event Based Bot Actions
koreUtil Libraries
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Manage Sessions
Bot Management
Bot Versioning
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDK Overview
SDK Security
SDK App Registration
Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Widget SDK Tutorial
Widget SDK – Message Formatting and Templates
Web Socket Connect & RTM
Using the BotKit SDK
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
How Tos
Creating a Simple Bot
Creating a Banking Bot
Transfer Funds Task
Update Balance Task
Context Switching
Using Traits
Schedule a Smart Alert
Configure Digital Forms
Add Form Data into Data Tables
Configuring Digital Views
Add Data to Data Tables
Update Data in Data Tables
Custom Dashboard
Custom Tags to filter Bot Metrics
Patterns for Intents & Entities
Build Knowledge Graph
Global Variables
Content Variables
Using Bot Functions
Configure Agent Transfer
  1. Home
  2. Docs
  3. Bots
  4. How Tos
  5. Kore-Unblu Integration

Kore-Unblu Integration


Unblu is a conversational platform that allows agents and advisors in your organization to collaborate with your customers and website visitors. It enables collaboration through online channels like live chat, secure text messaging, and video chat to achieve a better customer experience.

Transferring a chat to a human agent from the bot is necessary if your bot is in the space of customer service. Chatbots are not meant to completely replace humans. At times, the chatbot fails to answer satisfactorily or the user wants to chat with a human being. If this happens, the chatbot should transfer the chats to a human agent or a customer care representative. To help users accomplish this task, Kore can be integrated with the Unblu application.

Here, the bot is the core of the entire solution. Apart from performing all its functionalities, the bot also acts as a proxy between users and agents.

  • Bot: Chat Bot that the user interacts with.
  • Users: Users are the customers who are using this bot.
  • Agent: Agents are humans who chat with users. The agent will also need a chat window. For this, you can use Unblu software.


The prerequisites are listed below:

  • A fully functional bot.
  • An Unblu account.
  • Download BotKit SDK from Kore’s GitHub.
  • Download and install the <Node.js> file. The BotKit SDK requires <node.js> files to run on the same server where the SDK is installed. The <node.js> version must be v12.0 and above.
  • Ngrok to simulate the callback server application.


To perform the Kore-Unblu integration, follow the below steps:

  1. Log in to the Kore Bots platform with valid credentials.
  2. On the left pane, click API Extensions.
  3. On the API Extensions page, by default, the BotKit SDK option is selected. Click Agent Transfer.
  4. On the Agent Transfer page, under App Name, click Add.
  5. On the Create Client App window, enter the application name in the Name field.
  6. Click Next > Done.
  7. In the Callback URL field, enter the BotKit URL endpoint. For example, https://<domainname>/unblu.
  8. Click Save.
  9. Now, log in to the Unblu account with valid credentials.
  10. Click your profile on the top-right; under the Administration section, select Manage Account.
  11. On the Account Configuration page, by default, Account Overview is displayed.
  12. On the left pane, under the Site Integration section, select Domains.
  13. On the Domains page, click New Domain on the top-right.
  14. On the New Domain window, enter the URL in the Domain URL field. 
    Note: This is the Callback URL. Refer to step 7. If this is not a constant public IP or Ngrok IP, you must update the IP whenever it changes.
  15. In the Protocol field, select Both.
  16. Click Save.

After completing the above configurations, make the required changes in the <config.json> file. Refer below for <sample_config_file.txt>.

  1. Go to <config.json> file and make the below-mentioned changes.
  2. Under the app section, paste the URL (Ngrok or publicly accessible URL). Refer to the below image.
  3. Under the credentials section, paste the Kore Bot details: API Key (client secret), App ID (client id), and Bot Name. Refer to the below image.

    To find these details,
    1. Log in to the Kore Bots platform with valid credentials.
    2. On the left pane, click API Extensions.
    3. On the API Extensions page, by default, the BotKit SDK option is selected. You can find the details as shown in the below image.
  4. Under the Unblu section, make the below changes:
    1. Paste Unblu credentials under the Unblu credentials section.
    2. Under the external_messenger section, enter the name, description, etc., you want to display in the chat.
      To access the external messenger details,
      1. Log in to the Unblu desktop application.
      2. On the left pane, under the External Integration section, select External Messengers.
      3. On the External Messengers page, select the respective messenger and you can find the messenger details.
    3. Under the agent section, enter the agent details you want to create.
    4. Under the named_area section, enter a Name and Meta Tag ID.
      To create a named area,
      1. Log in to the Unblu application.
      2. On the left pane, under the Site Integration section, select Named Areas
      3. On the Named Areas page, click New Named Area on the top-right.
      4. On the New Named Area window, select a registered domain from the Domain Name drop-down list and enter a name in the Name field. You can also register a domain by clicking Register a New Domain.
      5. Click Save.
    5. Under the admin section, enter the Unblu username.
  5. After you have updated the <config.json> file, install the dependencies by executing the command npm i.
  6. Run the integration setup by executing the command npm start.   
    Note: The webhook URL must be the same in API Extensions, <config.json> file, and the external messenger section (Endpoint URL of the respective messenger) of your Unblu account as mentioned above (The Botkit URL in API Extensions, app.url, and unblu.custom.external_messenger).
  7. The agent transfer is configured at the dialog level. You can open the dialog task, and open the agent transfer node to see that the configuration is saved as shown below.

Sample Configuration File

  "server": {
    "port": 8003
  "app": {
    "apiPrefix": "/unblu",
    "url": ""
  "credentials": {
    "st-dxaxxxfx-xxxx-xxxx-xdxx-xxfbcaaxabx": {
      "apikey": "ixyxxxj/jyklUDsEkELzNYPxPJeTQOPfNrfxjxnXZxx",
      "appId": "cs-xxxxxfxe-dxxc-xxxe-add-axxxbdxxxxdx",
      "botName": "Banking App"
  "redis": {
    "options": {
      "host": "localhost",
      "port": xxxx
    "available": false
  "examples": {
    "mockServicesHost": "http://localhost:xxxx"
  "supportsMessageAck": true,
  "languages": [
  "unblu": {
    "custom": {
      "external_messenger": {
        "name": "xxxx-Kore Messenger",
        "description": "Kore Messenger channel for PoC",
        "sourceId": "xxx_kore_source_id",
        "webhookEndpoint": "",
        "webhookSecret": "xxx-kore"
      "agent": {
        "firstName": "Xxx",
        "lastName": "Bank Agent",
        "username": "xxx_bank1_agent",
        "displayName": "xxx Bank1 Agent",
        "email": "",
        "phone": "",
        "sourceId": "xxx_Agent_Source_Id",
        "personSource": "VIRTUAL"
      "named_area": {
        "name": "xxx-Unblu Named Area",
        "meta_tag_id": "SxCxntqnQxxxHFhTMykIHA"
      "admin": {
        "user_name": "xxx"
    "credentials": {
      "url": "",
      "webhook": "webhook",
      "auth": {
        "username": "xxx",
        "password": "sdfghj"