> For the complete documentation index, see [llms.txt](https://doc.mantago.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.mantago.cc/mantago-en/faq/how-to-get-a-token.md).

# How to Get a Token

## How to Obtain an API Token？

Each MantaGO bot has its own API Token and Secret Key.

### Method 1: Retrieve from the MantaGO Dashboard

1. Go to the Bot Dashboard
2. Click **Settings**
3. Select **Advanced Settings**
4. Click **API Integration Settings**
5. If the API Token or Secret Key is empty, click **Refresh**
6. Copy the API Token and Secret Key for the selected bot

***

If the token expires (valid for 30 days), you can either:

* Generate a new token from the MantaGO Dashboard, or
* Use the expired Token and Secret Key to refresh the credentials through the API endpoint below.

{% content-ref url="/pages/Aa1NJieGiNxn5LGBURyS" %}
[Generate Open API Token & Secret Key](/mantago-en/generate-open-api-token-and-secret-key.md)
{% endcontent-ref %}

{% hint style="info" %}
Each bot only has one API Token and Secret Key pair.\
Please store them securely.
{% endhint %}
