> For the complete documentation index, see [llms.txt](https://docs.marpledata.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.marpledata.com/docs/sdk/overview/api-tokens.md).

# API tokens

You need different tokens for Marple Insight and Marple DB. Both can be created in the UI:

{% tabs %}
{% tab title="Marple DB" %}
Go to Settings → API Tokens. Click "Create token" to generate a new token with the desired expiry date. Tokens are treated as admin users. Tokens are only shown once, so keep them securely stored after generation.

<figure><img src="https://3590686807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwEBNWlmdcxXBXd7oyqyR%2Fuploads%2F6y8tWBfgiaIa28o09EAX%2Fimage.png?alt=media&amp;token=e9d37de2-c1ee-439c-bf4c-99d7fbc77692" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Marple Insight" %}
Go to Settings → Api Tokens. Click "Add token" to generate a new token with the desired expiry date and user role (editor/admin). Tokens are only shown once, so keep them securely stored after generation.

<figure><img src="https://3590686807-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwEBNWlmdcxXBXd7oyqyR%2Fuploads%2FV0ne3rZslqB00kVzoSbN%2FScreenshot%202025-01-29%20at%2016.20.00.png?alt=media&amp;token=6d9a4ed5-11c6-48fc-8361-82b8efc183ee" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}
