
[[_twitter]]

==== Twitter

.Prerequisites
. A Twitter developer account.

.Procedure
. Click *Identity Providers* in the menu.
. From the `Add provider` list, select `Twitter`.
+
.Add identity provider
image:images/twitter-add-identity-provider.png[Add Identity Provider]
+
. Copy the value of *Redirect URI* to your clipboard.
. In a separate browser tab, create an app in https://developer.twitter.com/apps/[Twitter Application Management].
.. Enter any value for name and description.
.. The value for *Website* can be any valid URL except `localhost`.
.. Paste the value of the *Redirect URL* into the *Callback URL* field.
.. When you create your Twitter app, note the value of *Consumer Key* and *Consumer Secret* in the *Keys and Access Tokens* section.
. In {project_name}, paste the value of the *Consumer Key* into the *Client ID* field.
. In {project_name}, paste the value of the *Consumer Secret* into the *Client Secret* field.

. Click *Add*.

