Connections are added inside an Access bundle. At
claude.ai/admin-settings/claude-tag, open Access bundles in the left navigation, click into a bundle (or Create one), and go to its Credentials tab.Add the connection
Create the token in GitLab
A project access token or group access token, so activity is attributed to a bot identity rather than a person. Grant the
api scope for read and write; read_api for read-only. The token starts with glpat-.@Claude what can you access from this channel? returns it in a new thread under the bundle’s scope.
| Field | Value |
|---|---|
| Claude’s personal access token | The token from GitLab, starting with glpat-. Project and group access tokens work here too; the label is the field name, not a token-type constraint. |
| Allowed websites | gitlab.com (preset). For self-managed GitLab, open the Advanced tab and add your instance’s hostname here. |
How GitLab differs from GitHub
| GitLab | GitHub | |
|---|---|---|
| Auth | One org-level access token | The Claude GitHub App, installed separately |
| Attaching a repo in a thread | Give Claude the full repository URL; it clones it | Typing owner/repo in the message auto-attaches it |
| Self-managed | Your hostname under Advanced → Allowed websites | GitHub Enterprise setup |
Related resources
- What this connection adds: the code use cases
- Configure GitHub access: the GitHub App path, which is different
- Give Claude access: the full credential-type and allowed-hosts reference