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
Bot Builder
Creating a Bot
Design
Develop
Dialog Task
Working with User Intent Node
Working with the Dialog Node
Working with Entity Node
Supported Entity Types
Working with Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Working with Message Nodes
Working with the Confirmation Nodes
Working with Service Node
Implementing Custom Authentication
Enabling 2-way SSL for Service nodes
Working with Script Node
Working with Agent Transfer Node
Working with WebHook Node
Defining Connections & Transitions
Managing Dialogs
Prompt Editor
Action & Information Task
Working with Action Tasks
Working with Information Tasks
Establishing Flows
Alert Tasks
Working with Alert Tasks
Managing Ignore Words and Field Memory
Knowledge Tasks
Knowledge Ontology
Building Knowledge Graph
Importing and Exporting Bot Ontology
Knowledge Extraction
Natural Language
Overview
Machine Learning
ML Model
Fundamental Meaning
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
NLP Settings and Guidelines
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
Talking to Bot
Utterance Testing
Batch Testing
Recording Conversations
Publishing your Bot
Analyzing your Bot
Overview
Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Universal Bots
Defining
Creating
Customizing
Enabling Languages
Smart Bots
Defining
Sample Bots
Github
Asana
Travel Planning
Flight Search
Event Based Bot Actions
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Bot Management
Using Bot Variables
API Guide
API Overview
API List
API Collection
SDKs
SDK Overview
SDK Security
SDK App Registration
Kore.ai Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Web Socket Connect & RTM
Using the BotKit SDK
Installing the BotKit SDK
BotKit SDK Configuration
Events for the BotKit SDK
Functions for 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
Enrollment
Inviting Users
Sending Bulk Invites to Enroll Users
Importing Users and User Data
Synchronizing Users from Active Directory
Security & Compliance
Overview
Using Single Sign-On
Cloud Connector
Analytics
Billing
How Tos
Context Switching
Using Traits
Live Agent Transfer
Schedule a Smart Alert
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