Connecting GitLab
Step-by-step guide to connecting GitLab
Last updated
Was this helpful?
Step-by-step guide to connecting GitLab
This guide walks you through connecting GitLab to Kosmos.
Kosmos supports both GitLab.com and self-managed GitLab instances.
A GitLab account with access to the projects you want to sync
Admin access to Kosmos to configure the integration
In Kosmos, navigate to Settings → Integrations
Find the GitLab card and click Connect
A dialog appears asking for your GitLab instance URL
GitLab.com: Leave the default https://gitlab.com as-is and click Continue
Self-managed GitLab: Replace the default with your instance URL (e.g., https://gitlab.yourcompany.com) and click Continue
Kosmos validates the URL before proceeding. Private IP addresses and non-HTTPS URLs are not accepted.
You'll be redirected to your GitLab instance
Review the requested permissions and click Authorize
You'll be returned to Kosmos with the connection established
GitLab OAuth tokens expire every 2 hours. Kosmos automatically refreshes them in the background — you won't need to reconnect.
After connecting, Kosmos displays a project selector.
Choose the specific projects you want Kosmos to sync
Leave the selection empty to sync all projects you have access to
Click Save when done.
In the sync configuration modal, you can enable or disable each data type:
Issues
GitLab issues, used as signals for correlation
Merge Requests
Merge requests linked to deployments
Commits
Commit history for deployment correlation
Pipelines
Pipeline runs correlated with incidents
Deployments
Deployment events tied to incidents
All types are enabled by default. Adjust as needed and click Save Settings.
Once saved, Kosmos begins syncing data from your selected GitLab projects.
Navigate to the Signals tab to confirm events are flowing in from your connected instance.
From Kosmos: Settings → Integrations → GitLab → Disconnect
From GitLab: User Settings → Applications → Revoke Kosmos access
For details on what Kosmos reads from GitLab, see Integration Permissions.
All access is read-only. Kosmos never creates, updates, or deletes any records in your GitLab instance.
Questions? Contact support@kosmoslabs.ai | app.kosmoslabs.ai
© 2026 Kosmos AI Labs, Inc.
Last updated
Was this helpful?
Was this helpful?

