GitLab

Connect GitLab.com or your self-managed GitLab so the AI can read code, issues, merge requests and pipelines - and, when you allow it, open branches, commit, comment and run pipelines.

2 Min. Lesezeit · Aktualisiert am 1. Dezember 2026 · Diese Seite ist noch nicht übersetzt und wird auf Englisch angezeigt.

Connect GitLab and your repositories become something you can ask about. Find where a feature is implemented, summarise what changed in a merge request, read a failing job’s log and suggest the fix, or turn a bug report into an issue with the right labels. Read tools are on from the start; write tools stay off until you allow them, one by one.

Connect GitLab

  1. Create an access token in GitLab

    In your GitLab access token settings, create a token for StickyPrompts. Either kind works:

    • Classic token (personal, project or group access token with scopes): grant read_api for read-only use, or api to allow write tools.
    • Fine-grained token: under User add User: Read, Personal Access Token: Read and Project: Read. Under Group and project, choose your projects and add the permissions for the tools you plan to allow.
  2. Open GitLab in Integrations

    Go to Integrations, open the Source control category, select GitLab and then Connect.

  3. Fill in the connection

    Give it a Name and an optional Description. Under GitLab instance, choose GitLab.com or Self-managed. For a self-managed instance, enter its GitLab URL, such as https://gitlab.example.com. Paste the Access token and select Connect.

  4. Set the tool permissions

    Open the connection’s Permissions tab and decide what the AI may do. See Tool permissions.

GitLab connections are personal: the AI acts as you, with your token’s access. A self-managed instance must be reachable at a public https address and run GitLab 15.5 or later.

What the AI can do

Tools
Read (allowed by default)Projects and branches; files and code search; commits; issues; merge requests and their diffs; pipelines and job logs
Write (off by default)Create branches; commit files; create, update and comment on issues and merge requests; merge merge requests; run and retry pipelines

The AI never commits to a project’s default branch. It works on a branch, and you merge through a merge request as usual.

What to ask

In northwind/webshop, where do we calculate shipping costs? Show me the
function and the files that call it.
Summarise the open merge requests in northwind/webshop: what each one
changes, who opened it and whether its pipeline passed.
The last pipeline on main failed. Read the job log, tell me why, and open
an issue with the error and a suggested fix.

Tips

  • Start read only. Leave write tools Off until a team has a clear use for them, then turn on the few they need.
  • Use Ask for anything that changes code. With Ask, each commit or merge waits for your confirmation in the chat.
  • Watch the token’s expiry. The connection shows when the token expires. Replace it in time with Edit connection.