# GitLab

Steps to be followed:

1. Go to <https://docs.gitlab.com/>
2. Login to your Gitlab Account
3. Create a personal access token with the following permissions
4. Enter your github username and the personal access token
5. Choose the projects that you would like to synchronize

**Permissions:**

* api

Grants complete read/write access to the API, including all groups and projects, the container registry, and the package registry.

* read\_api

Grants read access to the API, including all groups and projects, the container registry, and the package registry.

* read\_user

Grants read-only access to the authenticated user's profile through the /user API endpoint, which includes username, public email, and full name. Also grants access to read-only API endpoints under /users.

* read\_repository

Grants read-only access to repositories on private projects using Git-over-HTTP or the Repository Files API.<br>

* write\_repository

Grants read-write access to repositories on private projects using Git-over-HTTP (not using the API).

<br>


---

# 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.ozone.one/in-product-guides/gitlab.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.
