Skip to main content

Integrating Argos with GitLab

Enhance your GitLab workflow with Argos for streamlined visual testing, direct feedback on merge requests, and easy GitLab repository access.

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.

Generate a Personal Access Token in GitLab

note

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

  1. From the dashboard, select your team or your personal account from the scope selector
  2. Select the Settings tab and go to the Integrations section
  3. Scroll to GitLab section
  4. Enter the generated token and click Save

Configure GitLab in Argos

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

Configure GitLab in Argos

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 GitHub repository for association.