Engati - User Guide
Deploying the bot
X (formerly Twitter)
13min
1 introduction 1 introduction x (formerly known as twitter) is an online social networking and microblogging service where users post and interact with messages known as “posts” (previously “tweets”) if you're looking to deploy your chatbot on x, engati enables seamless integration any user who sends a direct message (dm) to your x account will experience the conversational flow you’ve designed for your bot the bot will also handle any faqs it has been trained to answer 🔹 note once you start interacting with users via x, their messages will appear in the messages tab in your engati inbox, just like whatsapp and instagram conversations 1 1 access to setup 1\ to configure x as a deployment channel go to configure > deployments > x (twitter) 2 requirements 2 requirements to link your bot with your x account you need a developer account on x, created using the same email as your x account visit https //apps twitter com/ https //apps twitter com/ to create your developer account x will verify your use case for the api — this process typically takes 2–3 business days once verified, you can proceed with the app setup 3 steps to configure twitter as a channel 3 steps to configure twitter as a channel here’s how you deploy your chatbot on twitter 3 1 create an app log into your x developer portal and create an application go to projects & apps → overview under “standalone apps,” click on create app and set your app name setup the app name you can copy the api key and api secret key click on app settings 3 2 set appropriate permissions in app settings , click edit near app permissions choose read, write, and access direct messages , then save this is required for your chatbot to handle conversations 3 3 retrieve the required tokens and keys go to the keys and tokens section and collect the following api key (consumer key) api secret key (consumer secret) access token access token secret you'll need these in step 3 7 while setting up on engati 3 4 get account activity api access apply for either premium or enterprise access via the account activity api documentation this access type must be correctly selected on the engati portal during setup 3 5 set up developer environment go to the dev environments section click set up dev environment for account activity api assign an environment name and link your twitter app id this name becomes your dev environment label , which you’ll use in step 3 7 3 6 allow receiving direct messages for your account, go to the security https //twitter com/settings/safety section and check the “receive direct messages from anyone” from the bottom of the page and then save the changes 3 7 update details on engati portal update the following details in the twitter configuration section under deploy >twitter and click on the save button your bot is ready to respond to all your direct messages on twitter – twitter admin username(the name for your twitter handle) – consumer key(from step 3) – consumer secret(from step 3) – access token(from step 3) – access token secret(from step 3) – dev environment label(from step 5) – the appropriate twitter account type, namely – premium or enterprise (based on the account type)