GitLab Integration Setup
Complete guide for connecting your GitLab repositories to ProdE's knowledge layer.
Overview
GitLab integration allows ProdE to access your GitLab repositories and create intelligent knowledge layers for your selected codebases. ProdE supports both OAuth and Personal Access Token (PAT) authentication methods.
Prerequisites
- GitLab Account: Active GitLab account with repository access
- Group Access: For group repositories, you must have appropriate permissions to grant read access
Setup Process
Step 1: Initiate GitLab Connection
- Log into your ProdE account
- Navigate to Knowledge Layer section in the sidebar
- Click on GitLab provider option and click Connect
Step 2: Choose Authentication Method
Option A: OAuth Authentication (Recommended)
- Complete OAuth Flow: You'll be redirected to GitLab's authorization page
- Grant Access: Authorize ProdE with read-only access (
read_repository,read_api,read_userscopes) - Automatic Setup: ProdE will securely store your tokens and discover your GitLab groups
Option B: Personal Access Token (PAT)
- Generate a PAT in your GitLab account settings under Access Tokens
- Required Scopes: Ensure the token has
read_repository,read_api, andread_userscopes - Enter PAT: Paste the token into ProdE's connection form
- Validation: ProdE will validate the token and discover your groups
Step 3: Link GitLab Groups
After authentication:
- Select Groups: Choose which GitLab groups you want to connect
- Automatic Repository Loading: All repositories from your selected groups will become available in your ProdE account
Step 4: Repository Management
- Next Steps: Navigate to the Repository Management page to learn more about managing your connected repositories and creating knowledge layers
Security Features
Read-Only Access
- No Write Permissions: ProdE only requests read-only access to your repositories
- Secure Authentication: Token-based authentication through GitLab OAuth or PAT
- Permission Scoping: Limited to repository content reading only
Data Privacy
- GitLab Permissions: Access is limited by your GitLab permissions
- Secure Processing: Repository data is processed securely
- Deletion Option: Data can be deleted upon disconnection
Disconnection and Data Management
Disconnecting GitLab
Important
Disconnecting GitLab will permanently delete all associated repository data and knowledge layers.
When you disconnect GitLab:
- All GitLab repository data is permanently deleted
- Knowledge layers are removed
- Reconnection requires reauthorization
Disconnecting Groups
Data Loss Warning
Disconnecting a group permanently deletes all repository data and knowledge layers from that group.
When you disconnect a group:
- All repository data from the group is permanently deleted
- Knowledge layers for that group are completely removed
- No access to group repository content or insights
- Other connected groups remain unaffected