Optional: credential for private GitLab projects. Leave empty for public repositories.

Dropdown lists only allowed types:

Example:

gitlab_api_token

After changing Credentials, click Test connection on the GitLab Repo URL row.

Token needs read_repository or read_api (list branches/tags).