Skip to main content

Group Access Token

When deploying projects on GitLab CI or hosted environments and incorporating private Composer or NPM packages developed by Acro, it's essential to generate a GitLab token to gain access to these packages.

warning

Don't use personal access tokens for CI/CD or hosted environments

Generating the token

  1. Click here create a group access token in the Acro Commerce group settings page in GitLab.
  2. Click on the Add new token button and be sure that the token details correspond to the provided specifications for simplified token rotation and future expiration management.
Token Configuration
  • Token name: PROJECT_NAME__ACRO_TOKEN.
  • Role: Reporter.
  • Scopes: read_registry & read_api.
  1. Make sure you keep a copy of the token in a safe place, as we'll need to incorporate it into the project's CI/CD configuration or Lagoon's environment variables.