Generate a GitLab API Token
If your GitLab is self-hosted or you simply prefer to connect using a token, you'll first need an API token:
In GitLab, navigate to User Settings > Preferences > Access Tokens and click Add new token.
Provide a Token name, remove the date from Expiration date (ie. the token should not expire) and select all checkboxes in Select scopes (or at a minimum, select
api
orread_api
scopes).Click Create personal access token and copy down the token.
Last updated
Was this helpful?