Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots
Kore.ai's Approach
Kore.ai Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Kore.ai Platform
How to Access Bot Builder
Working with Kore.ai 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
Deprecations
Bot Builder
Creating a Bot
Design
Develop
Storyboard
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
Prompt Editor
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Forms
Digital Views
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Overview
Machine Learning
ML Model
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
Bot Intelligence
Overview
Context Management
Session and Context Variables
Context Object
Dialog Management
Sub-Intents
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
Overview
Dashboard
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Data Table
Universal Bots
Defining
Creating
Training
Customizing
Enabling Languages
Smart Bots
Defining
Sample Bots
Github
Asana
Travel Planning
Flight Search
Event Based Bot Actions
koreUtil Libraries
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Bot Management
Bot Versioning
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDKs
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
Installing
Configuring
Events
Functions
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
Dashboard
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Enrollment
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
Analytics
Billing
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. Channel Enablement
  5. Adding the Mattermost Channel

Adding the Mattermost Channel

You can connect Kore.ai bots to your Mattermost account using either:
(NOTE: Before you begin, ensure that you have access to the administrative functions of your Mattermost account)

WebHook based Integration

Step 1: Setup Outgoing Webhook

  • Login to your Mattermost account
  • From the ‘Main Menu’ (hamburger menu from the left panel) choose ‘Integrations’.
  • Select the ‘Outgoing Webhooks’ menu and click ‘Add Outgoing Webhook’.
  • Provide required information as per the below image.
    • Enter your preferred values for Title, Description and Bot Name fields.
    • Choose ‘application/json’ as Content Type.
    • If you would like your bot to be available only for a specific channel, then choose the required channel from the Channel dropdown.
    • Provide your Kore.ai bot’s Bot Name in the Trigger Words field.
    • Copy the Callback URL for the Kore bot (located in the ‘Configurations’ tab of Mattermost Channel enablement) and provide it in the ‘Callback URLs’ field.
    • Click on ‘Save’ to complete the Outgoing Webhook setup.
    • You would be redirected to the confirmation page with the Token displayed.
    • Copy this Token and provide it in the ‘Outgoing Webhook Token’ field present in the Kore Bot Channel Configurations section.

Step 2: Setup Incoming Webhook

  • Select ‘Incoming Webhooks’ menu and click ‘Add Incoming Webhook’.
  • Provide required information as per the below image.
    • Enter your preferred values for Title, Description and Username fields.
    • Choose a default channel. Kore.ai bots always respond back in the channel from which the user input is received.
    • Do not select the ‘Lock to this channel’ option.

  • Click on ‘Save’ to complete the Incoming Webhook setup.
  • You would be redirected to the confirmation page along with the URL associated with this newly created incoming webhook.
  • Copy this URL and provide it in the ‘Incoming Webhook URL’ field in the Kore Bot Channel Configurations section.

WebSocket based Integration

Step 1: Enable Personal Access Tokens

To enable WebSocket connection, you would need to create a Mattermost account to be provisioned as a bot.

  • First, enable usage of Personal Access Tokens to allow your Mattermost users to generate personal access tokens.
  • Personal access tokens are used to authenticate and provide full access to an account.
    • Login to Mattermost from an account which has access to ‘System Console’.
    • From ‘System Console’, navigate to ‘Integrations – Custom Integrations’ menu.
    • Locate the ‘Enable Personal Access Tokens’ setting, set it to ‘true’ and save.

Step 2: Create an Account to be Provisioned as a Bot

  • Create a new account you intend to be presented as a bot for your Mattermost users.
  • Login to this new account and navigate to ‘Account Settings – Security’ section.
    • Click on ‘Personal Access Tokens’ section and click ‘Create New Token’.
    • Provide a description for your token and ‘Save’.
  • Post-confirmation, you will be presented with the access token.
  • Make a note of the ‘Access Token’ and provide it in the Kore Bot Channel Configurations section.

Menu