Skip to main content
Tembo connects to GitLab.com with a service account or through an OAuth application. GitLab Self-Managed and Dedicated aren’t supported; contact support before planning to use them.

Step 1: Choose how to connect

  • Service account (simplest): no app to create. Create a token with the api scope for an account with the Maintainer role on the projects Tembo should access, and skip to Step 3.
  • OAuth, for personal accounts: create a GitLab.com OAuth application with the redirect URI https://<your-host>/api/oauth/gitlab/callback and these scopes: api, profile, openid, read_api, read_user, read_repository, write_repository, read_observability, write_observability and email.

Step 2: Give Tembo the OAuth credentials

For OAuth only. Store the application’s credentials in a Secret:
Add it to configSecrets in your values, keeping any existing entries, and apply the change:
The chart generates the webhook secret, gitlab.webhookSecret, for you.

Step 3: Connect GitLab

  1. In Tembo, open Settings > Integrations and connect the service account, or install GitLab through OAuth.
  2. Check that your projects appear in Tembo, and start a session that opens a merge request.
Tembo registers project webhooks at https://<your-host>/api/webhook/gitlab, or your public API host. GitLab must be able to reach it. If merge request comments or pipeline events don’t arrive, check the project’s webhook deliveries in GitLab. See the GitLab guide for using it.

Need Help?

If you run into any issues, contact support@tembo.io.