GitLab Cloud - Classic Token (recommended)
How do I sign-up with GitLab Cloud?
Last updated
How do I sign-up with GitLab Cloud?
To connect GitLab Cloud to Hivel using a Personal Access Token (PAT), follow these steps:
Data Access by Hivel
Hivel accesses the past 30-90 days of commits and pull requests from active repositories during the initial sync.
Authorization Mechanism
Hivel integrates with GitLab Cloud using a Personal Access Token.
You retain full control - access can be revoked at any time by revoking the token in GitLab under Preferences β Access Tokens.
Requirements
Ensure the token is created from an account possessing write permissions to relevant GitLab repositories.
Best Practice
Opt for a service account rather than an individual-linked account.
Service accounts are typically overseen by the company's admin.
Quick start: skip the navigation - open the token creation page, then continue from Step 3. If the link doesn't take you there, follow from Step 1 below.
Log into the GitLab service account:
Use a dedicated service account that has access to the required repositories for Hivel integration.
Avoid using personal GitLab accounts to ensure only the intended repositories are accessed.
In your GitLab account, click your avatar in the top-right corner.
Select Preferences.

On the left sidebar, select Access > Personal access tokens.

Click on the Generate token dropdown and select Legacy token.

Enter a name (e.g. Hivel), and set the longest expiry date your organization's policy allows. (GitLab requires an expiry date on personal access tokens. You can revoke the token manually when the engagement ends.)
Select the desired scopes:
read_api
read_user
read_repository

Select Create personal access token, and copy it immediately, as you won't be able to view it again.
Copy the generated token immediately, as you won't be able to view it again.
Submit the token to Hivel
Hivel validates the token instantly - if the token is wrong, expired, or missing any of the required scopes, Hivel shows a clear message telling you exactly what the problem is. Generate a new token with the correct scopes and reconnect.
That's it, all done!
Last updated