GitLab Integration

Connect GitLab.com or a self-hosted GitLab server for merge request and issue context.

Last updated: October 20, 2026

Connect GitLab to give Brief context from merge requests and issues in selected projects. One connection serves your Brief workspace. Use GitLab.com or a self-hosted GitLab server.

Connect GitLab.com

  1. Open Integrations and select Connect a Tool….
  2. Choose GitLab, select Done, then select Connect on its row and complete GitLab authorization. Brief requests the api, read_repository, and read_user permissions. The api permission allows writing in GitLab, but GitLab write actions in Brief are disabled on a standard connection.
  3. Search for and select up to 200 projects for Brief to index. Monitor GitLab Issues also includes issues in Brief context; the work feed reads issues from selected projects independently of this setting.
  4. Select Complete Setup.

Selecting Don't share completes the connection without projects to index. Use Configure on the connection to change the project selection or issue monitoring setting later, then select Save Changes.

Connect a self-hosted GitLab server

From Connect a Tool…, choose GitLab (Self-Hosted) and select Done. Select Connect on its row, enter the Instance URL, then choose OAuth or an access token.

  • OAuth: Create an application in your GitLab instance under Settings → Applications. Use the callback URL shown by Brief and grant api, read_repository, and read_user. The setup dialog may suggest read_api, but that scope alone is insufficient for this OAuth flow; use it for the access-token option instead. Enter the application's Application ID and Secret, then select Continue with GitLab. After authorization, choose projects in the project selector and select Complete Setup.
  • Access token: Select Use an access token instead and enter a token from Settings → Access Tokens. The dialog suggests read_api for read access. Brief automatically selects up to 10 projects returned for the token's membership when you connect; there is no separate project selector for this path. Select Use OAuth instead to return to the application flow.

Both GitLab.com and self-hosted connections use periodic reads. Brief also attempts to register project webhooks for updates. Webhook updates depend on successful registration and, for self-hosted GitLab, whether the server can reach Brief.

What Brief can do

Brief’s work feed reads merge requests and issues from selected projects. Open merge requests and issues represent work in progress. A merge request merged into a main branch represents shipped work; a merge into another branch remains work in progress. Closed merge requests that were not merged are omitted from the work feed.

In Brief Chat, you can ask Brief to find a project, list or read its issues, or inspect a merge request and its changes. Project selection controls the work feed; it does not limit which projects the GitLab chat tools can read. Those tools use the connected account's GitLab permissions.

Common problems

  • Projects are missing after OAuth: Check that the authorized GitLab account can access them. Search the project picker, then use Configure if you need to change the saved selection.
  • No project work appears: Confirm projects are selected. Don't share leaves none selected, and an empty project has no merge requests or issues to read.
  • A self-hosted server cannot connect: Check the full Instance URL, the token or application scopes, and whether Brief can reach the server. If the server uses an internal certificate authority, your workspace administrator must arrange trust for its certificate.
  • The self-hosted dialog shows the wrong fields: Select Use an access token instead or Use OAuth instead to switch between token and application credentials.
  • Updates are delayed: Both connection types use periodic reads. Webhook updates also depend on successful registration and, for a self-hosted server, its ability to reach Brief.
  • Only an admin can change the connection: GitLab is shared across the Brief workspace. Ask a workspace administrator to change or replace the connection.
  • The connection needs attention: Use Reconnect on its Integrations row. Use Configure to change selected projects on an existing connection.

For related work tracking, see Connect Linear, Connect GitHub, Browse integrations, and Troubleshoot connections.