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
Global Configuration settings:
- Whitelist the URL for GitLab
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 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.