LensHub
Get startedlenshub.ai
ConnectorsSetup guides

GitLab

Project files, and optionally issues.

What it brings in

Project files, and optionally issues.

Credentials

A personal access token with read_api and read_repository. GitLab → Preferences → Access tokens. Set the base URL if self-managed.

Settings

SettingWhat it is
api_tokenAPI token
base_urlBase URL of your instance
include_extensionsFile extensions to include
projectsProjects to sync
sync_issuesAlso sync issues

Adding it

  1. Connectors → Add connector → GitLab
  2. Decide global or personal — this is the one choice that is awkward to change later
  3. Enter the credentials above
  4. Narrow the scope before the first sync
  5. Save. Syncing starts immediately

Nothing is searchable until the first sync finishes. Progress is on the connector page.

If it fails

The connector page shows the error. The usual causes are an expired credential, a permission changed on the far side, or — for GitLab — access not having been granted to the specific content yet.

On this page