Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots's Approach Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Platform
How to Access Bot Builder
Working with 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
Dialog Task
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
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Managing Dialogs
User Prompts
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Forms
Digital Views
Knowledge Graph
Importing and Exporting
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Machine Learning
Model Validation
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Ranking and Resolver
NLP Detection
Advanced NLP Configurations
Bot Intelligence
Context Management
Session and Context Variables
Context Object
Dialog Management
Sub-Intents & Follow-up 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
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Data Table
Universal Bots
Enabling Languages
Smart Bots
Sample Bots
Travel Planning
Flight Search
Event Based Bot Actions
koreUtil Libraries
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Manage Sessions
Bot Management
Bot Versioning
Using Bot Variables
API Guide
API Overview
API List
API Collection
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
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
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
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 Twitter Channel

Adding the Twitter Channel

To set up Twitter as a channel, you must associate the bot with a Twitter account, define a Twitter app, and enable the integration. To add Twitter as a channel, follow the below steps:

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

Add Twitter Channel

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

Note: The steps are modified in v7.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. To find the Callback URL, follow the below steps:
    1. In the Bots section of the Bot Builder, click the bot you want to add the Twitter channel to.
    2. On the Channels tab, click the Twitter icon. The Twitter Channel page is displayed.
    3. Use the Callback URL from the Configurations tab of Twitter channel page.
  2. Log in to Twitter apps portal and select Create New App.
  3. Provide all the required information, and click Create your Twitter application to create your new app.

Keys & Tokens

After the application is created:

  1. Go to the Keys and tokens tab.
  2. Under the Access token & access token secret section, click Create. This action generates 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 must provide them while configuring the Twitter channel  from the Bot Builder for the respective bot.


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

Enable Channel

  1. In the Bots section of the Bot Builder, click the bot you want to add the Twitter channel to.
  2. On the Channels tab, click the Twitter icon. The Twitter Channel page is displayed.
  3. Go to Configurations 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 Authorize to register a webhook with your Twitter app and to subscribe to realtime activities.
  7. Enable Channel and Save.
  8. Your Twitter channel is set up and ready for Publishing your Bot.

Edit Twitter Channel

To edit the Twitter channel, follow the below steps:

  1. Hover over the channel and click to modify.
  2. You can make necessary updates to your channel configurations and save them.
  3. You can 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 the use of the Twitter channel for your bot. To enable use of the Twitter, click Enable.
  • Delete – Click Delete. On the Delete Confirmation dialog box, click OK to permanently delete the bot channel configuration.
Warning: This operation is permanent, and cannot be undone.