GitLab for Confluence Cloud Overview
GitLab for Confluence Cloud allows teams to display GitLab content directly within Confluence pages, helping engineering, product, and operations teams collaborate more effectively without leaving Confluence.
The integration supports both GitLab SaaS and GitLab On-Premises deployments.
Features
GitLab for Confluence Cloud supports displaying:
-
Projects
-
Merge requests
-
Issues/work items
-
Pipelines
-
Source Code
Using simple GitLab links, the app automatically renders rich previews directly within Confluence pages.
Supported GitLab Deployments
GitLab SaaS
The app fully supports GitLab SaaS using:
https://gitlab.com
GitLab SaaS accounts can connect using either OAuth (a one-click sign-in) or a Personal Access Token.
GitLab On-Premises
GitLab On-Premises instances are also supported.
To use an On-Premises deployment, your GitLab instance must be accessible via a public internet URL so the integration can retrieve repository data securely.
On-Premises deployments must use a Personal Access Token, OAuth is not available for self-managed instances
How It Works
The integration connects to GitLab using either a GitLab Personal Access Token (PAT) or, for GitLab SaaS accounts, OAuth. Both are configured by a Confluence administrator.
Once configured:
-
Users insert GitLab links into the macro
-
The app retrieves GitLab metadata
-
Rich previews are displayed automatically in Confluence
Supported Link Types
The GitLab macro currently supports:
|
Content Type |
Example |
|---|---|
|
Merge Request |
|
|
Issue |
|
|
Projects |
|
|
Pipelines |
|
|
Source Code |
|
Getting Started
To start using GitLab for Confluence Cloud:
-
Install the app from the Atlassian Marketplace
-
Choose an authorization method: connect via OAuth (GitLab SaaS only) or generate a GitLab Personal Access Token
-
Configure the GitLab connection
-
Insert GitLab links using the macro
For detailed setup instructions, see:
Permissions
The integration requires a GitLab Personal Access Token with the appropriate permissions.
At minimum, the token should include:
-
read_api
Additional permissions may be required depending on repository visibility and organizational policies.
If you use OAuth instead of a Personal Access Token, GitLab grants read-only access automatically as part of the authorization flow, no manual scope selection is required.
Troubleshooting
If GitLab content does not load correctly, common causes include:
-
Invalid or expired Personal Access Tokens, or an expired or revoked OAuth authorization
-
Incorrect GitLab base URL
-
Missing permissions
-
Expired Marketplace license
See the Troubleshooting guide for more details.
Feedback and Support
We welcome feedback, feature requests, and bug reports.
Please contact us through our support portal for assistance.
Related Integrations
You may also be interested in our other Atlassian integrations:
-
Jigit - GitHub, GitLab, Gerrit Integration for Jira
Connect your source control and development activity to Jira issues for improved visibility and traceability. -
Advanced Microsoft Teams Connector for Confluence
Integrate Confluence with Microsoft Teams to make documentation more accessible and improve team collaboration.
Updated: