# Twitter

### Access the Twitter App Console

* Navigate to the [Twitter Developer Platform](https://developer.twitter.com/en) and sign up if you haven't already.
* You might be required to apply for a developer account where you'll need to provide some information about your intended use of Twitter’s API.

### Create OAuth app

* After logging in to your Twitter Developer account, navigate to the [Developer Dashboard](https://developer.twitter.com/en/portal/dashboard).
* Twitter should automatically create a default project and application for you. If it doesn't, click "Create Project" and follow the prompts to set up a new one. After creating the project, you'll be able to create an application. Navigate to your project and select "Add App."
* Update application details, such as the name, description, and icon, by clicking the "Edit" button. Next, configure the authentication settings.

<figure><img src="https://802996127-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIAGKHlIqVKJe9agnFr14%2Fuploads%2Fgit-blob-54612ab9d313b1df67db786e4fc165f6b63c08cd%2Ftwitter-1.png?alt=media" alt=""><figcaption></figcaption></figure>

### User Authentication Settings

* Set the "App permissions" to "Read and write" and "Type of App" to "Web App"
* Set the Redirect URI to `https://[YOUR_API_BASE]/auth/twitter/callback`, for example `https://api.appmixer.com/auth/titter/callback`

<figure><img src="https://802996127-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIAGKHlIqVKJe9agnFr14%2Fuploads%2Fgit-blob-18d5f24c9f8d3880ec495b125ee6ef6a94bd65a5%2Ftwitter-2.png?alt=media" alt=""><figcaption></figcaption></figure>

### Keys and Tokens

* Get the `Client Id` and `Client Secret` from the Keys and Tokens page

<figure><img src="https://802996127-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIAGKHlIqVKJe9agnFr14%2Fuploads%2Fgit-blob-6b181120acdc20ec3820c3b290bd654fc615538b%2Ftwitter-3.png?alt=media" alt=""><figcaption></figcaption></figure>

* Configure the App Key as `clientId` and the App Secret as `clientSecret` in the service settings within the Backoffice, under the configuration ID `appmixer:twitter`.
* To learn more about configuring connectors, please visit the [Connector Configuration](https://docs.appmixer.com/appmixer/getting-started/services) section.
