Connect GitLab
The common connection fields are described in Connect services.
- Settings, GitLab, connection: set the server (
https://gitlab.comor your own). Optionally set a base group, so paths below can be short (for exampleacme/platform). - Choose the token’s access: read only needs the
read_apiscope; read and write needsapi, which commenting, approving, merging and rebasing use. The new-token link asks for the scope that matches. - In GitLab, create a personal access token with that scope. Export it, for example
export GITLAB_TOKEN=glpat-...;env:GITLAB_TOKENis the default. You can instead enterglab(radar uses the login of theglabprogram, and if GitLab turns that token down, radar asksglabto renew it once) or the token itself. - Add the groups or repositories you follow: FOLLOW in setup’s GitLab step, or Settings, GitLab, tenancies. Paste a group’s or repository’s link, or its path.
If GitLab refuses a write, radar shows GitLab’s reason. merged, closed in the connection
sets how many days back views with state:merged or state:closed reach (14 by default).