Before you begin
You need:- A GitLab administrator
- An Entelligence workspace administrator
- A GitLab base URL reachable by Entelligence over an approved network path
- A TLS certificate trusted by the connecting systems
- A pilot group or project
- A dedicated GitLab service user
- An OAuth application and its client credentials
- A personal access token owned by the service user
- A credential owner and rotation date
1. Obtain the Entelligence onboarding details
Ask the Entelligence workspace owner or support@entelligence.ai for:- The self-managed GitLab onboarding or login URL
- The exact OAuth redirect URI
- The required OAuth application scopes
- The required personal access token scopes
- Any deployment-specific network or webhook requirements
2. Create the GitLab OAuth application
In the application settings for the installed GitLab version:- Create a confidential application named Entelligence or another approved name.
- Paste the exact redirect URI supplied for the deployment.
- Select only the scopes required by the current Entelligence onboarding instructions.
- Save the application.
- Store the client ID and client secret in an approved secret manager.
3. Create the service user and token
- Create or designate a dedicated regular GitLab user for Entelligence.
- Add the user only to the pilot groups or projects.
- Record the user’s numeric GitLab user ID.
- While acting as that user, create a personal access token with the current Entelligence-required scopes.
- Set an expiry that matches the organization’s rotation policy.
- Copy the token once and store it in the approved secret manager.
4. Configure network access
Confirm:- Entelligence can resolve the GitLab hostname.
- HTTPS is reachable over the approved public or private route.
- Corporate proxy and TLS inspection are compatible.
- The GitLab certificate chain is trusted.
- The browser can complete the OAuth redirect to Entelligence.
- GitLab can deliver webhooks if the deployment uses them.
- Firewall and allowlist entries are documented.
5. Complete the Entelligence onboarding form
- Open the deployment-specific self-managed GitLab onboarding URL.
- Enter the complete GitLab instance URL, including
https://. - Search or continue to the connection form.
- Enter the organization name, numeric service-user ID, and personal access token.
- Supply the OAuth client ID and client secret only if the current form requests them; some flows can show an OAuth section as preconfigured.
- Select Connect GitLab.
- Wait for a successful redirect or connection confirmation.
6. Enable a pilot repository
- Open Code Review → Codebases.
- Find the synchronized pilot project.
- Enable PR Review using the repository controls.
- Open a non-draft test merge request.
- Request or trigger a review using the configured workflow.
- Verify Entelligence can read the change and post only the approved output.
Verify
- The dedicated onboarding flow reports a successful connection.
- Only intended groups and projects synchronize.
- A normal Entelligence member cannot access an out-of-scope project.
- The test merge request is visible.
- A configured review can be posted.
- Revoking the OAuth application or personal access token stops future access.
- Reconnection restores only the approved scope.
Rotate credentials
- Inventory the OAuth application, service user, token, and webhook configuration.
- Create the replacement during a change window.
- Update the deployment-specific Entelligence connection.
- Synchronize and run a read-only test.
- Run one pilot review.
- Revoke the old secret.
- Record the next rotation date.
Troubleshooting
Contact support@entelligence.ai with the GitLab version, deployment type, redacted error, timestamp, and request or delivery ID. Never send the client secret or token.