Gitlab On-Prem
Last updated
Was this helpful?
Last updated
Was this helpful?
To integrate Hivel with GitLab, you'll need to create a Personal Access Token (PAT) for authentication. Below are the detailed steps to generate the token in GitLab:
1. Access User Settings
Log in to your GitLab account.
In the top-right corner of the screen, click on your profile icon.
From the dropdown menu, select "Preferences" to access your account settings.
2. Navigate to Access Tokens
In the left sidebar, scroll down and find "Access tokens" under the "Access" section.
Click on "Access tokens" to open the token generation page.
3. Enter Token Details
Name: Enter a name for your token. It is recommended to use something descriptive, like "Hivel", for easy identification.
Description: This is optional, but you can add a description to help identify the token's purpose.
Expiration Date: Set an expiration date for the token if desired, or leave it blank for no expiration.
4. Select Required Scopes
To enable Hivel to interact with your GitLab instance, check the following required scopes:
read_api: To read data from the GitLab API.
read_user: To read user information.
read_repository: To access repository data.
5. Create the Token
After entering the details and selecting the necessary scopes, click on the "Create personal access token" button.
6. Save the Token
Once the token is created, copy the generated token immediately and store it in a secure location.
IMPORTANT: This is the only time the token will be displayed, so make sure to copy it before leaving the page.
Use the token to complete the next steps as shown on the Integration screen in Hivel.