> ## Documentation Index
> Fetch the complete documentation index at: https://docs.decimal.app/llms.txt
> Use this file to discover all available pages before exploring further.

# GitLab

> Connect your GitLab repositories to Decimal for AI-powered codebase search during support ticket investigation.

The GitLab integration connects your repositories to Decimal, enabling the AI agent to search your codebase when investigating support tickets.

## What It Does

Once connected, Decimal:

* **Indexes your code** for intelligent search
* **Searches relevant files** when analyzing support tickets
* **References specific code** in its investigation responses

## Connecting GitLab

1. **Navigate to Integrations**: Go to the **Integrations** page in the sidebar.
2. **Click GitLab**: Click on the GitLab integration row to open the configuration modal.
3. **Enter your GitLab URL**: Provide your GitLab instance URL (e.g., `https://gitlab.com` or your self-hosted GitLab URL).
4. **Provide an access token**: Enter a GitLab Personal Access Token or Group Access Token with `read_api` and `read_repository` scopes.
5. **Select repositories**: Choose which repositories to index from the available list.
6. **Connect**: Click **Connect** to save the configuration and begin indexing.

*To generate a Personal Access Token in GitLab, go to **Settings > Access Tokens** in your profile, create a token with `read_api` and `read_repository` scopes, and copy it into the Decimal configuration.*
