Admin access to your GitLab instance is required to create Personal Access Tokens with the necessary permissions.
PlayerZero requires specific permissions through a GitLab Personal Access Token (PAT). When creating your PAT, ensure the following scopes are enabled:
API permissions:
api (full API access for repository and merge request operations)
Repository permissions:
write_repository (read repository content and post merge request comments)
You must have at least Developer level access to the GitLab projects you want to connect. These permissions enable PlayerZero to read your code, analyze merge requests, and provide automated insights directly in your development workflow.
After connecting GitLab, configure which repositories PlayerZero should monitor:
About Projects: A project in PlayerZero is a workspace that combines your application’s repositories with telemetry data, user sessions, and ticketing systems. Connect repositories and tickets that are relevant to your project’s monitoring goals to correlate code changes, user behavior, and reported issues.
Navigate to Repository Settings
Go to your project Settings → Repositories
Import Repositories
In the “Import Repository” section, click the “Select a Provider” dropdown
Choose your Azure DevOps organization from the list
PlayerZero will display all available repositories from your organization
Add and Configure Repositories
Click “Import” next to each repository you want to monitor
Select repositories containing code relevant to your project (frontend, backend, or full-stack repos)
For each connected repository in the “Connected Repositories” section:
Set Primary Branch: Click the branch button (e.g., “main”) to select which branch to monitor
Toggle Active Status: Use the toggle switch to enable/disable monitoring
PlayerZero only accesses repositories where you have at least Developer permissions. Repository data is not imported until you enable specific repositories in your PlayerZero settings.
PlayerZero supports automatic token rotation for GitLab:
If enabled, PlayerZero will automatically rotate your PAT before expiration
Manual token updates can be done through Settings → Code
Contact support if you encounter token rotation issues
These permissions enable PlayerZero to provide code analysis, merge request insights, and AI-powered code conversations while maintaining security and access control within your GitLab environment.