Skip to content

Gitlab

Connecting NeuBird to your GitLab account enables collection of telemetry data such as service performance, environment metrics, and application health. To integrate, you need a personal access token from your GitLab account.

Step 1: Generate a personal access token in GitLab

Section titled “Step 1: Generate a personal access token in GitLab”
  1. Log in to your GitLab account, open your avatar menu in the upper-right corner and select Edit profile (older GitLab versions label it Preferences).

    GitLab user profile dropdown showing Preferences option

  2. In the left sidebar, select Access > Personal access tokens (Access Tokens on older versions).

    GitLab sidebar with Access Tokens link

  3. Click Generate token (choose Legacy token if GitLab offers a choice) or, on older versions, Add new token.

    Access Tokens page with Add new token button

  4. Enter a Name and Description for your token.

    Token creation form with name and description fields

  5. Under Select scopes, select the api option.

    Scope selection with api checkbox

  6. Click Create personal access token to continue.

    Create personal access token button

  7. Copy your newly created personal access token and store it securely.

    Newly created token with copy button

Step 2: Self-hosted GitLab behind Teleport (optional)

Section titled “Step 2: Self-hosted GitLab behind Teleport (optional)”

For GitLab.com, or a self-managed GitLab that NeuBird can reach over the network, skip this step.

If your self-managed GitLab is only reachable inside your network, publish it as a Teleport application instead of exposing it:

  1. Register GitLab with your Teleport Application Service (an app_service entry whose uri is GitLab’s internal address). Teleport serves it at https://<app-name>.<proxy-domain> unless you set a public_addr.
  2. Create a Machine ID bot join token for NeuBird and note your proxy address and the application name.
  3. In the connection form, enter the Teleport application’s public address as the GitLab URL, turn on Connect through Teleport, and fill in the Teleport fields below. The access token is still sent; Teleport forwards it to GitLab.
FieldRequiredDescription
NameYesA descriptive name for this connection
DescriptionNoAdditional context about the connection
GitLab URLYeshttps://gitlab.com, your self-managed GitLab URL, or the Teleport application’s address
Access TokenYesThe personal or project access token from Step 1 (requires the api scope)

Shown when Connect through Teleport is on; all three are then required.

FieldRequiredDescription
Teleport Proxy URLYesThe Teleport proxy server URL, e.g. https://teleport.example.com:443
Bot Join TokenYesMachine ID bot token for tbot
Teleport App NameYesMust match the Teleport application name for GitLab

A healthy connection reaches Synced and lists one resource per GitLab project the token can read.


For general instructions on creating and managing connections, see the Connections Overview.