Generate a PAT (Personal Access Token) on GitLab

To manage your Project metadata using Git version control, you can generate a Personal Access Token in GitLab, depending on your preferred platform.

Generate a PAT in GitLab

To generate a Personal Access Token in GitLab:

  • Connect to GitLab with your account
  • In the navigation bar, click on your Account picture and choose the Edit profile menu:
  • In the left menu, select the Access Tokens menu:
  • Fill in the following information:
    1. Token name: fill in a name for the new PAT
    2. Expiration: choose the validity date of your token
    3. Select scopes: should be at least write_repository

  • Click on the Create personal access token button
  • Your PAT is generated:
  • Save it in a secure place; you will need it to create a Project
  • Scroll down. Your new PAT appears in the list of your PATs:

Demonstration video