# Personal access token

## How to get a personal access token

{% hint style="info" %}
**Good to know:** A Personal Access Token (PAT) is a security token used for authenticating API requests. it is required on every API calls to stackcue
{% endhint %}

Navigate to your `{{base_url}}` and log in with your username and password. Next, click on the **Profile** menu to view your user details. Then, click on the **"Create Token"** button. In the popup window, enter a name and specify values for the abilities column, then generate the token.

<br>

> Note :This personal access token used as `Bearer <token>` in this documentation

<figure><img src="/files/AlVnTSI9zMr0dqywjmTd" alt=""><figcaption></figcaption></figure>


---

# 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://stackcue.gitbook.io/stackcue-docs/get-started/first-step/personal-access-token.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.
