# Triagic + GitLab: ticket investigations over your repositories, read-only

> GitLab in Triagic: Browse projects, issues, and merge requests, read-only. Read-only, with a credential you configure.

Source: https://triagic.com/integrations/gitlab

## What you can ask

- In GitLab, which merged change touched the export job in the last two weeks?
- Find the GitLab pull request that introduced the 240 MB file limit
- Is there an open GitLab issue for the OOM on large CSV imports? Link it.
- Who last changed migrations/0142.sql in GitLab, and was it reviewed?
- List GitLab deploy keys and outside collaborators on the private repositories

## What the agent can do

Every tool the GitLab server annotates as read-only. Read-only mode is on, and download_attachment is denied because it writes a file onto the machine running Triagic.

## Connect in three steps

1. **Mint a read-only credential in GitLab.** Create a dedicated user or token that can only read. Read-only mode is on, and download_attachment is denied because it writes a file onto the machine running Triagic.
2. **Add it in the Triagic portal.** Integrations, then Add shared data source, then GitLab. Fill in: Access token (required): Personal access token with the read_api scope. A project or group access token with the api scope also works and is narrower: it reaches only that project or group, where a PAT reaches everything its owner can see. GitLab accepts all three in the same header.
3. **Let a desktop pick it up.** Saving validates the shape of what you typed. The first desktop app to sync starts GitLab locally and reports running or degraded with the error text.

Setup reference: https://triagic.com/docs/integrations/code#gitlab

## Read-only, by construction

Read-only mode is on, and download_attachment is denied because it writes a file onto the machine running Triagic.

## FAQ

**Can Triagic change anything in GitLab?**
No. Read-only mode is on, and download_attachment is denied because it writes a file onto the machine running Triagic. Give it a read-only credential as well, so the guarantee does not rest on one layer.

**What do I need to connect GitLab?**
Access token. The desktop app on a member's machine starts the connection; the portal never holds a live process.

**Does GitLab cost extra?**
No. Every connector is included in the seat price. Start a 14-day trial without a card.

## Related integrations

- [GitHub](https://triagic.com/integrations/github)
- [Azure DevOps](https://triagic.com/integrations/azure-devops)
- [Bitbucket](https://triagic.com/integrations/bitbucket)
- [CircleCI](https://triagic.com/integrations/circleci)
