Description
This article illustrates the process of adding a GitLab profile to the Markdown macros.
Before you begin:
To add a profile, you will need the following:
- Personal access token for GitLab profile
- GitLab API URL
- Whitelist the GitLab URL in Configuration settings
Steps
Navigate to CONFLUENCE ADMINISTRATION > Settings > ATLASSIAN MARKETPLACE > Markdown Configuration > Profiles.
Click Add Profile.
Enter a unique profile name in the Profile name text box.
Ensure that you provide a unique profile name. If you enter a profile name that already exists, the existing profile gets replaced with the given information.
- Select GitLab from the options in Profile type. Notice that the Request headers parameter is auto-filled.
Enter the API URL for GitLab in the URL text box. For example, https://gitlab.com/api/v4/projects.
To know more about URLs, refer to How to - Create a profile with a URL.
- Enter the Personal access token for your GitLab profile in the Access token text box.
- Click Save profile to create a profile.