> For the complete documentation index, see [llms.txt](https://docs.3dolphins.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.3dolphins.ai/integration/channel-connector/twitter/create-an-app-in-twitter-developers.md).

# Twitter Developers

After registering a Twitter account, you can create an app instantly on Twitter's developer page. This section will explain how to create the Twitter app:

Log in to your Twitter account and navigate to the [Twitter App Management Console](https://developer.twitter.com/en/apps).

![Developers Page](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNQidQwa-0K9_KnQpoc%2F-MTElj8MEsUz_X-PuH_d%2F-MTEmHYlQ4aag-QoXeVz%2FDeveloper%20Page.png?alt=media\&token=68ca4c3e-b04d-4683-ad94-e17771c852d7)

If this is your first time creating an app on Twitter, you will see a button **'Create New App**'**.**

![Create an App](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2F9ocaa43GRy8vg3dT97d1%2FCreate%20an%20app%20twitter.png?alt=media\&token=a03d82d9-8361-426c-b8c9-522628d578a6)

&#x20;A pop-up confirmation appears, click the **'Apply'** butto&#x6E;**.**

![Apply Confirmation](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2F0KBVCYepetOd8Dfog0S1%2Fapply%20twitter%20developer%20account%20edit.png?alt=media\&token=842ce2f4-b779-4099-aec7-fb3c78e5e907)

Then, you will be directed to the portal developer page. Select **'Making a bot'** in the use case field and adjust the other fields. Then, click the **'Let's do this'** button to continue app registration.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2F8I3FEhMRScUXrKU9dC3o%2FTwitter%20Developers%20edit.png?alt=media&amp;token=daef94ed-4bd4-4633-b58e-a13698d9aee5" alt=""><figcaption><p>Developer Portal</p></figcaption></figure>

Read and agree to the Twitter developer account application terms, then click the **'Submit'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FFB3UMUPdfUjqB7birU7q%2FDeveloper%20agreement%20edit.png?alt=media&amp;token=1a79cb89-e02c-4a65-84d9-86bd3376bbe0" alt=""><figcaption><p>Developer Aggrement</p></figcaption></figure>

You will be notified to validate your email address.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Fsh2hTyVd2GUq07PtNbXT%2Fverify%20email.png?alt=media&amp;token=1dee5bcf-f74f-42b9-a5d6-4fda677ee9a7" alt=""><figcaption><p>Verify Email</p></figcaption></figure>

In your verification email, click the **'Confirm your email'** button and congratulations your email has been successfully verified.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FXg1N3jTwNjJfdazSlnuF%2Fsuccess%20verified%20email.png?alt=media&amp;token=bf0244b4-64c8-430f-80a1-d8b02dc8280a" alt=""><figcaption><p>Success Verified Email</p></figcaption></figure>

Enter your app name.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FB73ppxBGZgFzDzmaXMlJ%2Fapp%20name.png?alt=media&amp;token=788a988d-995f-4262-bd36-a6400645e59a" alt=""><figcaption><p>App Name</p></figcaption></figure>

Then, Twitter will provide the required API key and token. Copy the information and click **'Dashboard'** to be redirected to the dashboard page.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Fsjf3HWIEDtVmgHWmyZt4%2FAPI%20Key%20developer%20edit.png?alt=media&amp;token=1c42068c-e721-4485-89a8-ec6eb2840418" alt=""><figcaption><p>Twitter API Key</p></figcaption></figure>

You will enter the dashboard page.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FYPVX7eowmzHTaXarCFjx%2FDashboard%20twitter%20developer.png?alt=media&amp;token=1cade7fd-7883-4a5b-8a9a-190ae90ded3d" alt=""><figcaption></figcaption></figure>

Then, you need to apply for elevated access to Twitter to access the development environment used to create a Twitter channel in our application. Go to the **Products** menu and click the **Twitter API v2** menu. On the **Elevated** tab, click the **'Apply'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FCsZp9oqh0DDspvLLo9Tn%2FElevated%20Access%20edit.png?alt=media&amp;token=8a72273b-0272-403c-b47e-5006fac49e01" alt=""><figcaption><p>Elevated Access</p></figcaption></figure>

In the basic info section, you will be required to confirm your Twitter account name, country, and current coding skill level. Then, click the **'Next'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FSXOrsGtBr8pOHGGtJ8cA%2FBasic%20Info%20edit.png?alt=media&amp;token=17ae59b3-a896-484d-b7c5-db58d89d9e55" alt=""><figcaption><p>Basic Info </p></figcaption></figure>

Enter how will you intended to use the Twitter API according to your needs and click the **'Next'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FfY3Rj1wAHZ7kOxQxdevf%2Fintended%20use%20edit.png?alt=media&amp;token=6071fd92-2cda-4503-9804-57985a56c458" alt=""><figcaption><p>Intended Use</p></figcaption></figure>

Correct and review all the steps you have completed. Please click the **'Edit'** button if there is information that still needs to be changed. When finished, click the **'Next'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FRM9tgQhdMX9IHHCfVpAp%2Freview%20step%20elevated%20access%20edit.png?alt=media&amp;token=3b3a11fb-ea61-4c49-b0e6-3dde397860b1" alt=""><figcaption><p>Review</p></figcaption></figure>

Read and Agree on the Twitter developer agreement then, click the **'Submit'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FOqxLoWLMhMLAb9YGv8zX%2Fterm%20elevated%20access%20edit.png?alt=media&amp;token=06997081-35e9-4694-ab62-eabf509ca556" alt=""><figcaption><p>Terms</p></figcaption></figure>

You will be notified that the request for elevated access is undergoing review. Twitter will additionally send you an email notification.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Fri1BcJfdhPTIInqkB0kX%2FWait%20review%20elevated%20access.png?alt=media&amp;token=216da1d7-2fc5-42c1-8f15-90fae33db621" alt=""><figcaption><p>Notification Twitter Under Review</p></figcaption></figure>

Once approved, you will be notified that your Twitter account has been registered as a Twitter developer and the elevated tab will change from pending to have access.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FeTojawrT3wiq2TfiugBU%2FHave%20elevated%20access.png?alt=media&amp;token=a34be587-98ff-43e2-8ccf-1eb76a12d036" alt=""><figcaption><p>Elevated Access</p></figcaption></figure>

After obtaining elevated permission, head to the **App Settings** Tab. Select the section **User Authentication Settings**.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FNWC9u3yBVKqWMJ5tMdQ2%2Fuser%20authentication%20settings%20edit.png?alt=media&amp;token=9f3a97f6-f91d-4be1-9078-0b3e03ac9a7c" alt=""><figcaption><p>User Authentication Settings</p></figcaption></figure>

Change your App Permissions from **'Read and Write'** to **'Read, Write and Direct Messages'**. In the type of app section, select **'Native App'**. Then, in the app info section, enter your callback URL and your website URL. Click **'Save'** when your settings are complete.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2Ftz16qBxd5uDNYdhS1J0M%2Fsetup%20user%20authentication%20settings%20edit.png?alt=media&amp;token=7266018f-691e-433f-b1ca-837dd37ee5a4" alt=""><figcaption><p>Set Up User Authentication Settings</p></figcaption></figure>

{% hint style="info" %}
Copy the following URL and paste into your callback URL: [https://\[url.com\]/dolphin/channel/authorization/channel-twitter.xhtml](https://venom.3dolphins.ai:9443/dolphin/channel/authorization/channel-twitter.xhtml)
{% endhint %}

After that, you also have to set up dev environment. Go to the **Products** menu and select **'Dev Environment'**. In the Account Activity API/Sandbox, click the **'Set up dev environment'** button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FTwpKhbgvPC2oLu3MktDG%2FDev%20environments%20%E2%80%94%20Twitter%20Developers.png?alt=media&amp;token=00f977c2-25af-41c1-a8c2-75849363a17e" alt=""><figcaption><p>Set up dev environment</p></figcaption></figure>

In the pop-up set up account activity API dev environment, enter your **'Dev environment label'** and choose your **'App'**. Then, click the **'Complete Setup**' button.

<figure><img src="https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2FRcNtS2ddjWgnKN0Dbp8f%2FSetup%20dev%20environment%20edit.png?alt=media&amp;token=24aa91c0-a57c-4fcc-80d2-82f43e1155c2" alt=""><figcaption><p>Set up Account activity API dev environment</p></figcaption></figure>

&#x20;You will see the notification that your dev environment successfully set up.

![Success Notification](https://765826444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLYDAnLjpg2T8z2BplJOS%2Fuploads%2F2xwrvDDiZ4quZbwwz6Le%2Fdev%20environments%20created%20edit.png?alt=media\&token=78f2d975-72e7-42d7-a2aa-a87088653eaa)
