GitLab Integration
Enhance your GitLab workflow with Argos for streamlined visual testing, direct feedback on merge requests, and easy GitLab repository access.
Why Argos needs repository access
Argos reads commit history to select the correct baseline build and reports statuses back to GitLab. Connecting your repository ensures Argos can compare builds accurately and keep merge requests up to date.
Advantages of GitLab Integration
- Log in effortlessly via GitLab
- Access to GitLab repositories
- Get Argos feedback on your pull requests.
Connecting a GitLab Repository
By leveraging GitLab's Personal Access Token, Argos communicates via a dedicated GitLab Bot User. This setup ensures direct feedback on your pull requests.
1. Generate a Personal Access Token in GitLab
- Go to GitLab tokens settings.
- Click "Add new token".
- Set an expiration date 12 months ahead (maximum allowed).
- Click "Create personal access token" and then copy the generated token.

You can also use a Project Access Token if you want to restrict access to a single project. If you choose this option, be sure to use set the role of the token as developer.
2. Configure the Generated Token in Argos
- From the dashboard, select your team or your personal account from the scope selector
- Select the Settings tab and go to the Integrations section
- Scroll to GitLab section
- Enter the generated token and click Save

3. Link GitLab Project to Argos
- From the dashboard, select your team or your personal account from the scope selector
- Select the Projects tab
- Click on Create a new Project at the top right
- Select Continue with GitLab
- Pick your GitLab organization and the desired repository, the new project should appear in your projects list

Connecting a Argos project to a GitLab Repository
First, ensure the GitLab Personal Access Token has been configured correctly.
In Argos, navigate to "Project Settings" → "Connect Git Repository" and select the desired GitLab repository for association.
GitLab Self-Managed
GitLab Self-Managed deployments are supported on the Argos Enterprise plan. These setups often require tailored configuration alongside SAML SSO and other enterprise features. To discuss enabling GitLab Self-Managed, contact sales.