# Personal Access Token (PAT)

{% stepper %}
{% step %}

### Create a personal access token in GitLab

<https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html>

{% hint style="info" %}
API scope required
{% endhint %}

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

{% endstep %}

{% step %}

### Go to your Jira instance

{% endstep %}

{% step %}

### &#x20;Click on the "GitLab PAT" button (available on Work Item)

<div align="left"><figure><img src="/files/fhqwgQ4dEdhkNrG5bJfM" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### The "Add a personal access token" window will be displayed

{% endstep %}

{% step %}

### &#x20;Provide your GitLab instance URL and the access token

<figure><img src="/files/o7nZaYnA7wuaiDBMSujQ" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### &#x20;Click on the Save button

{% endstep %}
{% endstepper %}


---

# 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.gitconnector.com/gitlab-integration/using-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.
