> For the complete documentation index, see [llms.txt](https://docs.nexos.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nexos.ai/workspace/integrations/gitlab.md).

# GitLab

### Overview

The GitLab integration connects nexos.ai with your GitLab account so you can reference repositories, issues, merge requests, and other GitLab content directly in your workspace. It helps you summarize changes, review context, and answer questions using the same source your team works in every day.

### Setting up the integration (as an admin)

1. Click on your **Profile icon.**
2. Go to **Management** -> **Apps.**
3. Find **GitLab** in the list.
4. Set the integration to **Active** (enabled).

<figure><img src="https://4112003433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDcOhapgXnoeDvgGQ8Jm4%2Fuploads%2F6HcgbRk2v3hDezB9u96S%2FScreenRecording2026-04-07at16.31.39-ezgif.com-video-to-gif-converter.gif?alt=media&amp;token=d86af9df-80dc-438e-ab6a-71a13a413a4f" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
After it’s enabled here, team members can connect their own GitLab accounts.
{% endhint %}

### Connecting your account (as a member) from **My Apps**

1. Open **Settings** (select your email/profile at the bottom of the left sidebar, then **Settings**).
2. Select **My Apps.**
3. Find **GitLab** and select **Connect**.

<figure><img src="https://4112003433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDcOhapgXnoeDvgGQ8Jm4%2Fuploads%2FRiy9G8jSwt8G8qTZvCMX%2FScreenRecording2026-04-07at16.33.22-ezgif.com-video-to-gif-converter.gif?alt=media&amp;token=0fabd62b-2299-4fd6-b487-239c8b5dd610" alt="" width="563"><figcaption></figcaption></figure>

4. You will be redirected to GitLab. Sign in if prompted.
5. Review the access request screen and select **Authorize** (or **Allow**) to approve.
6. Return to nexos.ai. GitLab should now show as connected in **My Apps**.

<figure><img src="https://4112003433-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDcOhapgXnoeDvgGQ8Jm4%2Fuploads%2FseyUB3C9fKWTozHAHlsS%2Fimage.png?alt=media&amp;token=c1a5b7fb-a824-4f55-9ac1-69749e0e8505" alt=""><figcaption></figcaption></figure>

### Use GitLab in Chat (turn it on for a conversation)

1. Open **New** **Chat** (or an Agent chat).
2. Click on a "**+**" -> **Integrations.**
3. Turn **GitLab** **on** to use it in that conversation.

### Use GitLab in Agents (turn it on for an agent)

1. Open **Agents** and select the agent you want to update.
2. Select the **Studio** icon (top-right), then open **Settings**.
3. Scroll to **Integrations** and turn **GitLab** **on**.
4. **Save** your changes, then test the agent (for example, “Summarize MR !42” or “List the open issues related to X”).

{% hint style="info" %}
**Alternative (quick method)**\
You can also tell the agent in plain language to add the GitLab integration (for example, “Add the GitLab integration for this agent”), and it will enable GitLab for itself automatically so you can continue without leaving the conversation.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.nexos.ai/workspace/integrations/gitlab.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
