Step 1: Choose how to connect
- Service account (simplest): no app to create. Create a token with the
apiscope 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/callbackand these scopes:api,profile,openid,read_api,read_user,read_repository,write_repository,read_observability,write_observabilityandemail.
Step 2: Give Tembo the OAuth credentials
For OAuth only. Store the application’s credentials in a Secret:configSecrets in your values, keeping any existing entries, and apply the change:
gitlab.webhookSecret, for you.
Step 3: Connect GitLab
- In Tembo, open Settings > Integrations and connect the service account, or install GitLab through OAuth.
- Check that your projects appear in Tembo, and start a session that opens a merge request.
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.