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
Storyboard
Dialog Task
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Message Nodes
Confirmation Nodes
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Connections & Transitions
Managing Dialogs
Prompt Editor
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
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
koreUtil Libraries
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
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
Configuring Digital Views
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 Slack Channel

Adding the Slack Channel

To setup Slack as a channel, you will need to associate the bot with a Slack app. Adding the Slack channel to your Kore.ai Bot allows end-users for your bot to interact with your bot using their Slack accounts.

  1. Create a Slack App – Create and configure a new app in Slack, and then copy app data from Kore.ai Bot Builder into the Slack app configuration for the bot name and Redirect URL.
  2. Copy Authorization Details – Copy app authorization details from Slack to the Bot Builder Slack channel Get App Details tab.
  3. Create a Bot User in Slack – In Slack, add a bot username to identify your bot.
  4. Enable the Channel – In Bot Builder, save the channel settings.

To add the Slack channel to a bot
To complete this procedure, you must already have a Slack account and be a member of a Slack team.

NOTE: The steps have been modified in ver7.1 of the platform in sync with changes to the channel requirements.

  1. In the Bots section of the Bot Builder, click the Bot that you want to add the Slack channel to.
  2. On the Channels tab, click the Slack icon. The Slack Channel page gets displayed.
  3. In a new browser tab, Login to Slack developer portal and navigate to Apps section https://api.slack.com/apps. If this is your first app, click on Create an App and if you already have some apps, then click on Create New App.
  4. In the Create App pop-up screen, enter App Name and select a team from Development Slack Team drop-down. Use your bot name as the App Name.
  5. After entering the required information, click on Create App. Slack will now create a new app and you would be redirected to Basic Information section of the new app.
  6. Navigate to OAuth & Permissions tab and click on Add a new Redirect URL. Copy the Redirect URL provided in the Configurations tab of Slack channel page and enter in the Redirect URLs field. Click on Add and then click on Save URLs.

  7. To create a Bot user, navigate to Bot Users section and click on Add a Bot User.

  8. Provide values for Display name, the Default username and then Save changes. Try to use your bot name as Display name and Default username. A bot user is now added to your Slack app.
  9. To enable Interactive Components, navigate to Interactive Messages section and click on Enable Interactive Components. Copy the Webhook URL provided in the Configurations tab of this page and enter it in Request URL field. Click on Save Changes.
  10. Navigate to the Event Subscriptions section and activate the Enable Events option.
    • Copy the Webhook URL provided in the Configurations tab of Slack Channel page and enter it in the Request URL field.
    • In the Subscribe to Bot Events section, add “app_mention”, “message_channels” and “message_im” events.
    • In the Subscribe to Workspace Events section, add “message_im” event.
    • Click Save Changes.

  11. Navigate to Basic Information section and scroll down to App Credentials section. Capture the values of Client ID, Client Secret, and Verification Token fields and provide them in the Configurations tab of Slack Channel page.
  12. If you would like to enable public distribution of your app on Slack, you would need to proceed with following steps. Navigate to Manage Distribution section and click on Remove Hard Coded Information and select the checkbox I’ve reviewed and removed any hard-coded information and click on Activate Public Distribution.

  13. After you submit your app for public distribution on Slack, you can also optionally submit your app to the Slack directory. Click on Submit to App Directory option and you will be redirected to separate form. Fill out the form and submit for approval.
  14. Navigate to the Configurations tab to review and complete the channel setup.

The Successfully added Slack channel message is displayed at the top of the Bot Builder Homepage. In Slack, it is optional to submit your app to the Slack App Directory.

Editing the Slack Channel

To edit the Slack channel, hover your mouse over the channel and click to modify. You can make necessary updates to your channel configurations and save them. You may also disable or delete the channel information by clicking the Settings icon.
Select one of the following commands to modify the channel:

  • Disable/Enable – Click Disable to temporarily disable use of the Slack channel for your Bot. To enable the use of the Slack, click Enable.
  • Delete – Click Delete, and then click OK in the Delete Confirmation dialog to permanently delete the Bot channel configuration.
Warning: This operation is permanent, and cannot be undone.
Menu