> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Twitter

> Set up Twitter OAuth for Consumer Authentication.

## Setup

*Follow these steps if you have not created a Twitter OAuth client yet.*

1. Signup for the [Twitter API](https://developer.twitter.com/en/docs/twitter-api/getting-started/getting-access-to-the-twitter-api).
2. Navigate to your [Twitter Dashboard](https://developer.twitter.com/en/portal/dashboard). For more information, check out Twitter's Authentication [guide](https://developer.twitter.com/en/docs/authentication/oauth-2-0/authorization-code).
3. **Create App** with your application name.
4. Under **User authentication settings**, click **Set up**.
5. Enable **OAuth 2.0 Authentication** by selecting **Web App**, **Automated App** or **Bot**.
6. Copy-paste the Redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) into the **Callback URI / Redirect URL** section.
7. Add your website, terms of service, and privacy policy links, and click **Save**.

***

*Follow these steps if you already have an existing Twitter OAuth client.*

1. Navigate to your application's **User authentication settings**, available in the right hand side bar of Twitter under Projects & Apps > Name of your application.
2. Under **User authentication settings**, click **Edit**.
3. Enable **OAuth 2.0 Authentication** by selecting **Web App**, **Automated App** or **Bot**.
4. Copy-paste the Redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) into the **Callback URI / Redirect URL** section.
5. Add your website, terms of service, and privacy policy links, and click **Save**.
