# Tokens

## Personal Access Tokens

A personal access token is a token that can be used for programmatic access to the dbnl platform through the SDK.

{% hint style="warning" %}
Tokens are not revocable at this time. Please remember to keep your tokens safe.
{% endhint %}

### Permissions

A personal access token has the same permissions as the user that created it. See [Users and Permissions](https://docs.dbnl.com/v0.21.x/using-distributional/access/users-and-permissions) for more details about permissions.

Token permissions are resolved at use time, not creation time. As such, changing the user permissions after creating a personal access token will change the permissions of the personal access token.

### Create a Personal Access Token

To create a new personal access token, go to **☰ > Personal Access Tokens** and click **Create Token**.

{% hint style="info" %}
Personal access tokens are implemented using [JSON Web Tokens](https://datatracker.ietf.org/doc/html/rfc7519) and are not persisted. Tokens cannot be recovered if lost and a new token will need to be created. &#x20;
{% endhint %}


---

# 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.dbnl.com/v0.21.x/using-distributional/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.
