> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcollate.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Personal Access Token

> Create personal access tokens to authenticate API requests to Collate.

# Personal Access Token

Personal Access Tokens (PATs) in Collate let you authenticate and interact with the Collate API securely. Follow the steps below to generate a new personal access token.

## Prerequisites

* You have a valid Collate user account.
* You have access to the Collate UI.

## Steps to Create a Personal Access Token

1. Log in to Collate.

2. Click the **Profile** icon and select your user name.
   <img src="https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/mcp/acces-user-profile.png?fit=max&auto=format&n=ZqXWD0tEXLu1jde7&q=85&s=3bf64d290936eafffd79be255ee12780" alt="Access token access" width="2938" height="1570" data-path="public/images/ai-2.0/mcp/acces-user-profile.png" />

3. Click the **Access Token** tab.

4. Set the expiry time and click **Generate Token**.
   <img src="https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/mcp/generate-token.png?fit=max&auto=format&n=ZqXWD0tEXLu1jde7&q=85&s=54421d6b6d25442babc112bfb1a9190a" alt="Generate new token" width="2898" height="1530" data-path="public/images/ai-2.0/mcp/generate-token.png" />

5. Copy and save it securely for later use.

   <img src="https://mintcdn.com/collatedocs/ZqXWD0tEXLu1jde7/public/images/ai-2.0/mcp/personal-access-token.png?fit=max&auto=format&n=ZqXWD0tEXLu1jde7&q=85&s=40ada49f38891b0385122b225a7422c8" alt="Copy acess token" width="2914" height="1536" data-path="public/images/ai-2.0/mcp/personal-access-token.png" />

   <Note>
     **Note**: By default, the token gives your AI agent the same role and access policy assigned to you in Collate. To scope your agent to different role-based access controls, create a dedicated user and generate the token from that account instead.
   </Note>

You can revoke a token at any time by selecting **Revoke Token**.

## Usage

Use the generated token to authenticate API requests to Collate. Include it in the Authorization header as follows:

```bash theme={null}
Authorization: Bearer <your_personal_access_token>
```
