Skip to content

Connections Management

The Connections page allows you to manage your code host integrations.

Navigate to the Connections page:

http://localhost:3000/connections

When connections_readonly is enabled in the configuration, connections are managed via the config file. The UI will show a warning banner and disable create/update/delete operations.

The main view shows all configured connections:

ColumnDescription
NameConnection identifier
TypeCode host type (GitHub, GitLab, etc.)
URLAPI endpoint
StatusExclude archived setting
  • Test - Verify connection credentials
  • Repos - Expand to view synced repositories
  • Menu (⋮) - Sync, Edit, Delete
  1. Click Add Connection button (not available in read-only mode)

  2. Fill in the connection name

  3. Select the code host type

  4. Enter the URL (defaults are provided)

  5. Enter your access token

  6. Choose whether to exclude archived repos

  7. Click Create Connection

FieldDescription
NameUnique identifier for the connection
TypeGitHub, GitHub Enterprise, GitLab, Gitea, or Bitbucket
URLAPI endpoint (defaults provided for cloud services)
Access TokenPersonal access token with repo read permissions
Exclude ArchivedSkip archived repositories during sync
  • URL: https://github.com (default) or your Enterprise URL
  • Token: Personal access token with repo and read:org scopes

Click the Test button to verify connection credentials:

  • Success: “Connection validated successfully”
  • Failure: Error message with details

Click the menu (⋮) and select Sync Repos to:

  1. Fetch repositories from the code host
  2. Queue indexing jobs for each repository
  3. Track progress in the indexing status bar

During sync, you’ll see:

  • Progress bar showing indexing status
  • Count of running and completed jobs
  • Any failed job notifications

Click the Repos button to expand the repository list:

FieldDescription
NameRepository path (org/repo)
Statusindexed, indexing, pending, failed, or excluded
StatusIndicatorDescription
indexedReady for search
indexingCurrently being indexed
pendingWaiting in queue
failedIndexing failed
excludedExcluded from indexing
  1. Click the menu (⋮) on a connection
  2. Select Edit
  3. Modify the configuration
  4. Leave token empty to keep existing
  5. Click Update Connection
  1. Click the menu (⋮) on a connection
  2. Select Delete
  3. Confirm deletion
ErrorCauseSolution
401 UnauthorizedInvalid tokenRegenerate and update token
403 ForbiddenInsufficient permissionsCheck token scopes
404 Not FoundWrong URL/org nameVerify configuration
TimeoutNetwork issuesCheck connectivity

Ensure your tokens have the required scopes:

Required scopes:

  • repo (for private repos)
  • read:org (for organization repos)