Docs
Repositories

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

  1. Open Repositories and click Connect a provider, then choose GitLab.
  2. Enter the Instance URL — https://gitlab.com, or your own server's URL.
  3. 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.
  4. For a self-hosted instance, also choose Access and TLS (below).
  5. 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:

  1. In your GitLab, create an OAuth application (Admin Area → Applications, or under a group's settings).
  2. Set the redirect URI to https://api.codebeast.ai/connections/oauth/callback.
  3. Give it the api scope.
  4. In CodeBeast, paste its Application ID and Application secret.

Which token to use

TokenBest forNotes
Group access tokenEvery project in a groupGitLab 14.7 or later; on gitlab.com it needs a paid tier.
Project access tokenA single projectNarrowest access.
Personal access tokenAnything that user can reachUse 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

OptionUse 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

OptionUse when
Publicly-trusted certificateYour GitLab uses a certificate from a public CA.
Custom CA bundleYour GitLab uses an internal CA. Paste the CA certificate (PEM).
Skip verification (not recommended)Only for testing — the connection isn't protected against interception.
Plain HTTP instances

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.