# GitLab Integration

Generate a Personal Access Token

1. **Log in to GitLab**: Go to your GitLab instance and log in with your account.
2. **Navigate to Personal Access Tokens**: Click on your profile picture in the top-right corner and select "Settings". On the left sidebar, find and click "Access Tokens".
3. **Create a Token**:
   * **Name**: Give your token a descriptive name.
   * **Scopes**: Select  read\_api, read\_user, read\_repository, read\_registry
   * **Expiration Date**: Set an expiration date 1 year from now.
4. **Save Token**: Click "Create personal access token". Make sure to copy the token, as it will only be displayed once.

Sign-in to Rezonate, and through the integration area add GitLab and place your recently created key.


---

# 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://kb.rezonate.io/core-integrations/gitlab-integration.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.
