# /tokAdmin - Connect Twitter (X)

To access AirtokBot admin menu send the command **/tokAdmin**

<figure><img src="https://846500649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzgn13PHwJZ89iINE1arY%2Fuploads%2FcODQ0Uu8wVCxWiCJ4OKX%2FScreenshot%202024-12-10%20at%209.14.26%E2%80%AFPM.png?alt=media&#x26;token=73ca7481-8cd1-4899-80d8-07b9280cb27b" alt="" width="344"><figcaption></figcaption></figure>

## Connect Twitter Account

Before being able to access all of the Twitter settings you will need to connect your twitter account, this should be the Twitter account for the project, for example: @Airtok\_Official would be the account that Airtok would use.

Click **"Connect Twitter"**

<figure><img src="https://846500649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzgn13PHwJZ89iINE1arY%2Fuploads%2F4IuK4hbwmJmskFwx7mC9%2FScreenshot%202024-12-10%20at%2010.10.47%E2%80%AFPM.png?alt=media&#x26;token=fc26f743-b37a-47e3-8174-92699d20af48" alt="" width="375"><figcaption></figcaption></figure>

A new menu will appear, this is the Twitter authorization wizard to connect to your account. You should be signed into twitter on your default browser to make this process easier.

Click **"Authorize Twitter"**

<figure><img src="https://846500649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzgn13PHwJZ89iINE1arY%2Fuploads%2FlrzuxL7B2J1urNgek3ki%2FScreenshot%202024-12-10%20at%2010.20.28%E2%80%AFPM.png?alt=media&#x26;token=297e2c1c-c4d2-43cb-b8c2-3c3a190fd049" alt="" width="375"><figcaption></figcaption></figure>

Telegram will show a warning window to confirm if you wish to open the link. Simply click **"Open"** to proceed.

<figure><img src="https://846500649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzgn13PHwJZ89iINE1arY%2Fuploads%2FSzStfb2kkepk75T5PFIy%2FScreenshot%202024-12-10%20at%2010.23.31%E2%80%AFPM.png?alt=media&#x26;token=8f5b0d12-9596-4b25-b4c0-77c9b05920f7" alt="" width="296"><figcaption></figcaption></figure>

A new window will open in your browser asking you to approve the connection between Airtok and your Twitter account.&#x20;

Click the **"Authorize app"** button.

<figure><img src="https://846500649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzgn13PHwJZ89iINE1arY%2Fuploads%2FGrBr7gZemwGNMSg3Wqrv%2FScreenshot%202024-12-10%20at%2010.26.28%E2%80%AFPM.png?alt=media&#x26;token=02019090-9379-4f99-abc4-e3366f44435a" alt="" width="375"><figcaption></figcaption></figure>

If the authorization process is successful you will recieve a notification in your browser that says: "Twitter account connected successfully!"

<figure><img src="https://846500649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzgn13PHwJZ89iINE1arY%2Fuploads%2FXtZ6o0TzUtoeRiILmQta%2FScreenshot%202024-12-10%20at%2010.28.40%E2%80%AFPM.png?alt=media&#x26;token=9d095701-116d-4add-b11a-a5c3d1d6ed84" alt="" width="309"><figcaption></figcaption></figure>

You can now close the browser and return to Telegram. After the account has been successfully connected you should click the **"Check Authorization"** button.

<figure><img src="https://846500649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzgn13PHwJZ89iINE1arY%2Fuploads%2FlrzuxL7B2J1urNgek3ki%2FScreenshot%202024-12-10%20at%2010.20.28%E2%80%AFPM.png?alt=media&#x26;token=297e2c1c-c4d2-43cb-b8c2-3c3a190fd049" alt="" width="375"><figcaption></figcaption></figure>

After clicking the "Check Authroization" button you should recieve a notice to say that the account is connected successfully.&#x20;

<figure><img src="https://846500649-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fzgn13PHwJZ89iINE1arY%2Fuploads%2FrvZvKl6HRDJL5QHv55DN%2FScreenshot%202024-12-10%20at%2010.31.36%E2%80%AFPM.png?alt=media&#x26;token=c44f7b27-80b0-4518-a8ad-1c2fe58651c5" alt="" width="357"><figcaption></figcaption></figure>

You can now go back to the "Twitter Settings" page in the admin menu by clicking on or entering /tokAdmin.
