Get Started
GitLab for Confluence merges development and documentation by embedding Gitlab issues, merge requests and other relevant information directly within Confluence pages, allowing for better collaboration and enhancing team productivity.
Installation
Install Gitlab for Confluence Data Center
Log in to Confluence as an Administrator.
From your Confluence administration, select Find new apps.
Search for ‘GitLab for Confluence’.
Click on Free trial and follow the steps in MyAtlassian to avail of a trial license.
Once installed, you can proceed with the configuration.

Gitlab connection configuration
Gitlab for Confluence Data Center supports both Gitlab On-Premise and http://gitlab.com.
From your Confluence administration, select GitLab.
Click on the +Add configuration button.
Populate the relevant information to “Add configuration”:
Title: Provide a suitable name for the configuration
URL of the Gitlab Server: Provide the Gitlab Server URL or enter https://gitlab.com for Gitlab Cloud.
Private Gitlab API Key or Access Token: provide the private API Key from the GitLab Server or Personal Access Token from GitLab Cloud to set up the connection.
Token type: Specify whether using a Private Key or Access Token.
Gitlab server type: Choose the type of GitLab you are connecting to: Server or Cloud.
Click Test Connection: if successful, a green bar will be displayed; a red bar with an error message will appear if unsuccessful.
Save settings.

A guide on creating Personal Access Tokens can be found here.
Configuration Settings
There are several configurable options available from the Settings tab.

Go to the Settings tab from the Configuration setup and specify:
Request timeout: the duration in sections before a macro call times out. The default is 30 seconds.
Allowed spaces: specific spaces where macros are allowed.
Forbidden spaces: spaces where macros are prevented.
Automatically convert GitLab links into the macros: if this option is unchecked, links will not be converted automatically when pasted into Confluence pages, and the macro will need to be triggered manually.
Next Check Out: How to access GitLab Macros in Confluence
Updated: