Description
This article illustrates the process of adding a GitLab profile to the Markdown macro.
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 > General Configuration > BOB SWIFT CONFIGURATION > Markdown > 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 add a profile name that already exists, Markdown will replace the existing profile.
- Select GitLab from the options in Profile type. You will notice that the Header parameters are 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.