# Personal Access Tokens

Personal Access Tokens (PATs) provide a secure and straightforward way to authenticate and manage access to your Spice AI account via the API and CLI.

### Creating a Personal Access Token

Personal Access Tokens can be created in [Account settings](https://spice.ai/account/tokens).

* Click the profile picture on the top right corner of the portal interface.
* From the dropdown menu, find and select the **Account settings** option.
* Select **Tokens** in the sidebar
* Enter descriptive token name
* Specify the scope of the token to limit access only for the selected organization, or use **All**
* Select expiration date
* After creating a token, copy and securely store the value, as it cannot be retrieved later.


---

# 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.spice.ai/docs/portal/profile/personal-access-tokens.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.
