# /tokAdmin - Connect Twitter (X)

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

<figure><img src="/files/KmCMYoVZgG0ddXKuzgBT" 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="/files/ZUBY2xlYprIOjsieCegN" 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="/files/0xfpt52N0X7UI8tXbJtP" 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="/files/XVgSk88ViPkHa6B93569" 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="/files/762gvlQtIfCmjTHKpWxv" 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="/files/RuLLaHtYJMhhaKZouFjv" 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="/files/0xfpt52N0X7UI8tXbJtP" 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="/files/WTxxMQX6BpamgIUr7Trp" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.airtok.ai/airtokbot-setup-guide/tokadmin-connect-twitter-x.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
