OVERVIEW
Virtual Assistants
Kore.ai Platform
Key Concepts
Natural Language Processing (NLP)
Accessing Platform
VIRTUAL ASSISTANTS
Virtual Assistant Builder
Virtual Assistant Types
Getting Started
Creating a Simple Bot
SKILLS
Storyboard
Dialog Task
Introduction
Dialog Builder (New)
Dialog Builder (Legacy)
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Colors
Supported Company Names
Form Node
Logic Node
Message Nodes
Confirmation Nodes
Bot Action Node
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Manage Dialogs
User Prompts
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Build
Alert Tasks
Introduction
Ignore Words and Field Memory
How to Schedule a Smart Alert
Small Talk
Digital Views
Overview
Configuring Digital Views
Digital Forms
Overview
How to Configure Digital Forms
NATURAL LANGUAGE
Overview
Machine Learning
Introduction
Model Validation
Fundamental Meaning
Introduction
NLP Guidelines
Knowledge Graph
Traits
Introduction
How to Use Traits
Ranking and Resolver
Advanced NLP Configurations
INTELLIGENCE
Overview
Context Management
Overview
Session and Context Variables
Context Object
How to Manage Context Switching
Manage Interruptions
Dialog Management
Sub-Intents & Follow-up Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Event Based Bot Actions
Default Conversations
Default Standard Responses
TEST & DEBUG
Talk to Bot
Utterance Testing
Batch Testing
Record Conversations
CHANNELS
PUBLISH
ANALYZE
Overview
Dashboard
Custom Dashboard
Overview
How to Create Custom Dashboard
Conversation Flows
NLP Metrics
ADVANCED TOPICS
Universal Bots
Overview
Defining
Creating
Training
Customizing
Enabling Languages
Store
Smart Bots
Defining
koreUtil Libraries
SETTINGS
Authorization
Language Management
PII Settings
Variables
Functions
IVR Integration
General Settings
Management
Import & Export
Delete
Versioning
Collaborative Development
Plan Management
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
ADMINISTRATION
HOW TOs
Creating a Simple Bot
Creating a Banking Bot
Context Switching
Using Traits
Schedule a Smart Alert
Configure UI 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
Update Balance Task
Transfer Funds Task
RELEASE NOTES
  1. Home
  2. Docs
  3. Virtual Assistants
  4. Channel Enablement
  5. Adding the Slack Channel

Adding the Slack Channel

To setup Slack as a channel, you must associate the bot with a Slack app. Adding the Slack channel to your Kore.ai bot allows end-users of 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.

Add Slack Channel to a Bot

To complete this procedure, you must already have a Slack account and be a member of a Slack team.

  1. Under the Bots section of the bot builder, click the bot to which you want to add the Slack channel.
  2. On the Channels tab, click the Slack icon. The Slack Channel page is displayed.
  3. In a new browser tab, Login to the Slack developer portal and go to the Apps section https://api.slack.com/apps. If this is your first app, click Create an App and if you already have some apps, then click Create New App.
  4. On the Create App window, enter App Name and select a team from Development Slack Team drop-down list. Use your bot name as the App Name.
  5. After you enter the required information, click Create App. Slack will now create a new app and you are redirected to Basic Information section of the new app.
  6. Go to OAuth & Permissions tab and click 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.
  7. Click Add > Save URLs.

  8. Proceed to the Bot Token Scopes section under the ‘Scopes’ section.
  9. Add ‘incoming-webhook‘ and ‘chat:write‘ scopes.
  10. If you would like your users to send attachments to your bot, then select the ‘files:write’ scope
  11. If you would like to send Proactive Notifications to your users on Slack, then select the users:read, users:read.email, team:read scopes
  12. In the OAuth & Permissions tab, navigate to the OAuth Tokens & Redirect URLs section, and select the Install to Workspace option. Choose the required Workspace and complete the process.
    Optionally, if you would like to send Proactive Notifications to your users on Slack, copy the ‘Bot User OAuth Token’ from the ‘OAuth Tokens for Your Team’ section and provide it in the Configurations tab of this page.
  13. To enable Interactive Components, go to the b section and enable Interactivity. Copy the Webhook URL provided in the Configurations tab of this page and enter it in Request URL field.
  14. Click Save Changes.
  15. Go 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.

  16. Navigate to the App Home section and under Show tabs. Enable the Messages Tab and also enable the Allow users to send Slash commands and messages from the messages tab. This is required to allow your users to directly interact with the app from the Messages tab.
  17. Go to the 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 the Slack Channel page.
  18. If you want to enable the public distribution of your app on Slack, you must proceed with the following steps. Go to the Manage Distribution section and click on Remove Hard Coded Information.
  19. Select the checkbox I’ve reviewed and removed any hard-coded information and click Activate Public Distribution.

  20. Go 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.

Edit Slack Channel

To edit the Slack channel, follow the below steps:

  1. Hover over the channel and click to modify. You can make necessary updates to your channel configurations and save them.
  2. You can also disable or delete the channel information by clicking the Settings icon.
  3. Select one of the following commands to modify the channel:
  • Disable/Enable – Click Disable to temporarily disable the 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