GitLab (cloud & self-hosted)
CodeBeast works with gitlab.com and self-hosted GitLab. You can connect with OAuth or by pasting an access token. A self-hosted instance that isn't reachable from the internet can be connected through a connector.
Connect GitLab Admin only
- Open Repositories and click Connect a provider, then choose GitLab.
- Enter the Instance URL —
https://gitlab.com, or your own server's URL. - Choose a method:
- OAuth — sign in with GitLab and approve access. Recommended for gitlab.com.
- Access token (paste a token) — paste a group, project or personal access token. See Which token to use.
- For a self-hosted instance, also choose Access and TLS (below).
- Click connect. The connection shows Connected and lists the projects the credential can see.
OAuth
On gitlab.com, OAuth uses CodeBeast's own GitLab application — just sign in and approve.
On a self-hosted instance, OAuth uses an application you create on your own GitLab:
- In your GitLab, create an OAuth application (Admin Area → Applications, or under a group's settings).
- Set the redirect URI to
https://api.codebeast.ai/connections/oauth/callback. - Give it the
apiscope. - In CodeBeast, paste its Application ID and Application secret.
Which token to use
| Token | Best for | Notes |
|---|---|---|
| Group access token | Every project in a group | GitLab 14.7 or later; on gitlab.com it needs a paid tier. |
| Project access token | A single project | Narrowest access. |
| Personal access token | Anything that user can reach | Use a dedicated bot user — a PAT reaches everything its user can, and expires with it. |
Create the token with the api scope and at least the Developer role, so CodeBeast can push branches and open merge requests.
Self-hosted options
Access
| Option | Use when |
|---|---|
| Direct (instance is reachable from the internet) | CodeBeast can reach your GitLab over the internet. If you restrict inbound traffic by IP, allow CodeBeast's egress IPs — admins can copy them from Settings → Environment. |
| Via connector (private instance) | Your GitLab is on a private network. Pick an online connector from the Connector list. Requires an https instance URL. |
TLS
| Option | Use when |
|---|---|
| Publicly-trusted certificate | Your GitLab uses a certificate from a public CA. |
| Custom CA bundle | Your GitLab uses an internal CA. Paste the CA certificate (PEM). |
| Skip verification (not recommended) | Only for testing — the connection isn't protected against interception. |
You can enter an http:// URL for a direct connection, but it is permanently badged plain HTTP and traffic, including your token, isn't encrypted. Prefer HTTPS. Connector access always requires HTTPS — see HTTP-only GitLab.
Merge requests
GitLab calls pull requests merge requests. CodeBeast opens a merge request from the task's integrated branch into the branch the task started from, and posts its review and test results as a comment. See Pull requests.