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 Graph
Terminology
Building Knowledge Graph
Generation of Knowledge Graph
Importing and Exporting Knowledge Graph
Knowledge Graph Analysis
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
Custom 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
Custom Dashboard
Patterns for Intents & Entities
Build Knowledge Graph
  1. Home
  2. Docs
  3. Bots
  4. Channel Enablement
  5. Adding the Twitter Channel

Adding the Twitter Channel

To set up Twitter as a channel, you need to associate the bot with a Twitter account, define a Twitter app and enable the integration. To add Twitter as a channel, you need to:

  1. Create Twitter App Log on to Twitter and in Twitter App Management Console create an app to provide authorization for communication between Twitter and your Kore.ai Bot.
  2. Setup Keys and Tokens- Generate the authentication keys and tokens for the Twitter app to communicate with the Kore.ai Bots Platform, and then copy those keys and tokens to Kore.ai Bot Builder.
  3. Update Permissions -To use Twitter as a channel for your Kore.ai Bot, you must define the Twitter app permissions used to interact with the Kore.ai Bots Platform.
  4. Enable Channel- After setting up the Twitter app and entering configuration data in Bot Builder, you need to enable the channel.

To add Twitter channel:
To complete this procedure, you must create a Twitter account if you do not have one already.

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

Create App

  1. To create a Twitter App, you need a Callback URL, for that
    1. In the Bots section of the Bot Builder, click the Bot that you want to add the Twitter channel to.
    2. On the Channels tab, click the Twitter icon. The Twitter Channel page gets displayed.
    3. Use the Callback URL from the Configurations tab of Twitter channel page.
  2. Login to Twitter apps portal and select Create New App.
  3. Provide all the required information, and click on Create your Twitter application to create your new app.

Keys & Tokens

After the application is created:

  1. Proceed to the Keys and tokens tab.
  2. Under the Access token & access token secret section click the Create button. This action will generate the Access Token and Access Token Secret.
  3. Copy the values of API Key, API Secret Key, Access Token and Access Token Secret fields. You will need to provide them while configuring the Twitter channel  from the Bot Builder for the respective Bot.

Permissions

  1. Navigate to Permissions tab and click the Edit and set the Access Permission to Read, Write and Direct Messages. Click Save.
  2. Navigate to the Dev environments page and set up the environment for your app. Click Set up dev environment button under the Account Activity API section. Provide a value for Dev environment label, say ProductionEnvironment, choose your app and Complete Setup.

Enable Channel

  1. In the Bots section of the Bot Builder, click the Bot that you want to add the Twitter channel to.
  2. On the Channels tab, click the Twitter icon. The Twitter Channel page gets displayed.
  3. Navigate to Conigurations tab.
  4. Enter the API key, API Secret Key, Access Token and Access Token Secret obtained from the Keys and Tokens tab of your Twitter app.
  5. Enter the Environment Label as set up in the Permissions section of the Twitter app.
  6. Click the Authorize button to register a webhook with your Twitter app and to subscribe to realtime activities.
  7. Enable Channel and Save.
  8. Your Twitter channel is setup and ready for Publishing your Bot.

Editing the Twitter Channel

To edit the Twitter 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 Twitter channel for your Bot. To enable use of the Twitter, 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