# Connect Tessl to GitLab

To enable Tessl on your repositories, you will first navigate to the [Tessl Registry](https://tessl.io/registry) and login, if required.

## Enabling the Integration

* Select your workspace from the selector on the left side menu.\
  ![](/files/pdUHkPUeGfPyqqndKPad)
* Click on Integrations from the menu\
  ![](/files/pkYZPOonwKVCpyyOrzeC)

  .
* Select *Enable Integration*.

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

* Provide an access token with the correct [permissions](/distribute/rollout-to-your-repositories/permissions.md#gitlab-permissions) for a gitlab.com instance. \* If you are using a self hosted or customer-url for your instance, check the Use a custom instance URL box, and provide the necessary URL.<br>

  ```
  <div align="left"><figure><img src="../../../.gitbook/assets/image (2).png" alt="" width="375"><figcaption></figcaption></figure></div>
  ```

## Troubleshooting

What if the option to *Add Integration* isn't available? In the following example Tessl is not enabled and the user does not have the correct [Role](/administrators/roles.md) within Tessl (manager or owner) so the interface does not provide the option to integrate GitLab. To address this, ensure you have the correct [Role](/administrators/roles.md) within Tessl or request a user with these permissions to setup the integration.

<figure><img src="/files/JmYsVKt2i8YnzZJSs54w" 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://docs.tessl.io/distribute/rollout-to-your-repositories/connect-tessl-to-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.
