Integrations
GitLab
Dun reads your GitLab projects and their branches/commits/files so it can ship the right revision.
Connect with an API tokenCode1 product
Note
Every mutating action — a deploy, a scale, a secret rotation, a DNS change — surfaces a plan in chat first. Dun never touches your GitLab resources until you approve it.
How to connect
Connect once from Integrations → GitLab, then toggle on the products you want Dun to manage.
1
Step 1
Click Connect with GitLab to authorize via OAuth — or open GitLab → Preferences → Access Tokens for a personal access token.
2
Step 2
Grant the api, read_repository, and write_repository scopes DunOps needs.
3
Step 3
Paste the token below (or finish the OAuth flow) and click Connect.
Where to get credentials: https://gitlab.com/-/profile/personal_access_tokens
What Dun can do
Each product below is something you can turn on. The examples are real prompts you can type in a chat thread.
Repositories
Read project metadata and file contents, and commit approved changes back to a branch — the source surface the auto-fix loop uses.
Type in a chat thread
List my GitLab projects
Show the latest commit on main in my web project| Permission | Required | What it does |
|---|---|---|
| List projects | Yes | Names, default branch, and visibility of each project. |
| Read files, branches, and commits | Yes | Resolve source context for diagnosis — read-only. |
| Commit approved fixes | Yes | Every write is gated by a chat approval; nothing is committed silently. |