Generate a PAT (Personal Access Token) on GitLab
A Personal Access Token (PAT) is required for authentication and secure connection to the repository. Follow these steps to generate a PAT in GitLab for managing your project metadata.
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 option:
- In the left menu, select the Access Tokens option:
- Fill in the following information:
- Token name: fill in a name for the new PAT
- Expiration: choose the validity date of your token
- 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 location; you will need it to create a Project
- Scroll down. Your new PAT appears in the list of your PATs:
Demonstration video