> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://staging.chrisp.chat/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to integrate Crisp with X (Twitter)?

**Here is how to integrate Crisp with Twitter, so you can receive direct messages from Twitter and reply from Crisp.**

| Twitter integration is available from the Crisp Mini plan

||| ⚠️ Before you continue: This integration requires you to be on the Twitter Enterprise plan. If you do not have this plan on Twitter the integration will not work.

# 1. Create your Twitter Project & Twitter App

* Go to your [Developers portal](https://developer.twitter.com/en/portal/dashboard) dashboard  
* Click "Create Project"  
* Give your Project a name  
* Select "Making a bot" for the use case  
* Give your project a description and you will be redirected to create an App  
* Give your app a name  
* Copy the generated **API Key** , **Api Secret Key** and Bearer Token

# 2. Allow messaging permissions

_Go to the_ Settings* tab of your App  
_Under the_ User authentication settings* section, click _Setup_  
_Enable the option_ OAuth 1.0a*  
_Under_ App permissions* select **Read + Write + Direct Messages**  
_Add your website URL in_ Callback URI / Redirect URL* and _Website URL_ , add your _Terms of service URL_ and _Privacy policy_ , then click Save

![Twitter App Permissions](https://storage.crisp.chat/users/helpdesk/website/-/9/4/b/4/94b4ce5d8ffc0000/2c474e88-7bbc-4c2d-a8a0-bf8904_g0fwna.png)

# 3. Generate Access credentials

_Go the the_ Key and tokens* tab of your App  
_In the_ Access Token and Secret* section, click on _Generate_  
* Copy the generated Access Token and Access Token Secret

![Twitter Access](https://storage.crisp.chat/users/helpdesk/website/-/1/a/1/1/1a116081a0c1ce00/4d7f11bc-875c-4248-a93f-d72238_gbff0e.png)

# 4. Apply for the Elevated plan

_Go to [Twitter API v2](https://developer.twitter.com/en/portal/products) under_ Products*  
_Click on the_ Elevated* tab and apply for Elevated  
* Fill in the details to apply for the Elevated plan  
_Under_ The Specifics* **only** enable _"Will your App use Tweet, Retweet, Like, Follow, or Direct Message functionality?"_ and describe that you will use the Direct message feature for customer support  
* Wait for your Approval from Twitter

# 5. Set up the Account Activity API

* Once approved, go to [Dev environments](https://developer.twitter.com/en/account/environments)  
_In_ Account Activity API / Sandbox* , click on _Set up dev environment_  
* Give it a name, and select your App created in Step 1

![Twitter Account Activity API](https://storage.crisp.chat/users/helpdesk/website/-/b/c/6/2/bc621a90efae4000/9fdd1752-b591-4d3a-9a30-f1a83d_1pxncl0.png)

# 6. Link Crisp with Twitter

* Go to [app.crisp.chat](https://app.crisp.chat)  
_Navigate to_ Plugins*  
* Click on Twitter DM  
* Fill the Twitter credentials from Step 1  
* Save the credentials

|| Note that the video below was created before the Twitter Developers portal changed. The steps are similar in most cases with the addition of needing to apply to the [Elevated Plan](https://help.crisp.chat/en/article/how-to-integrate-crisp-with-twitter-1t4iyr1/?bust=1651651279861#1-4-apply-for-the-elevated-plan)

${frame}[](https://www.youtube.com/embed/jLl6ZlaE14I?rel=0)

## Troubleshooting

#### I don't receive messages on Crisp

1. Twitter is known to have sometimes issues on the Tokens. What we suggest in the first place if you don't receive messages from Twitter on Crisp is to **renew your all the Twitter API Tokens** on [https://developer.twitter.com](https://developer.twitter.com)  
2. Please ensure your OAuth permissions are set to **Read + Write + Direct Messages**  
3. Check if your **Account Activity API** dev environment is properly configured  
4. Check that you do not have the **"Filter low-quality messages"** enabled in your Twitter inbox. You can disable this by navigating to your Twitter Messages > Settings > Enable **"Allow messages requests from everyone"** > Disable **"Filter low-quality messages"**

**Want to know more about Twitter Integration? Get a clear view of our [social inbox for customer service](https://crisp.chat/en/shared-inbox/social-messaging/)**