Create an access token
Use a personal access token, or a group access token for a bot user.
Open Access tokens
Sign in to GitLab.
- Personal access token: Edit profile > Access tokens > Add new token
- Group access token: open the group, then Settings > Access tokens > Add new token
Choose scopes
Select read_api for read-only access, or api to also use write actions. On GitLab Self-Managed with Admin Mode turned on, an administrator also selects admin_mode to read the instance user roster and two-factor status. Set an expiry date that fits your rotation policy.
Copy the token
Click Create token and copy it. GitLab shows it only once.
Find your instance URL
Leave the instance URL empty for GitLab.com. For GitLab Self-Managed or Dedicated, use the address you open GitLab at, such as https://gitlab.example.com, without a trailing slash or /api/v4. If the instance is behind a firewall, allow inbound HTTPS from StackOne’s IP addresses.
Linking the Account from the Hub
Navigate to the Hub
Fill out the fields
- GitLab Instance URL (Optional)
- Access Token
Connect
- Click Connect
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup
If the account linking is successful, you will see the newly linked account in your Accounts page.
Next Steps
Webhooks setup
Configure receiving Events for GitLab into StackOne.