Skip to main content

Configuring GitHub Copilot Enterprise (ghe.com Subdomain)

Overview. LinearB supports GitHub Copilot metrics collection for organizations using GitHub Enterprise Cloud with data residency , where the enterprise is hosted on a custom *.ghe.com subdomain inste…

Steven Silverstone
Updated by Steven Silverstone

Overview

LinearB supports GitHub Copilot metrics collection for organizations using GitHub Enterprise Cloud with data residency, where the enterprise is hosted on a custom *.ghe.com subdomain instead of the standard GitHub-hosted endpoints.

This integration extends the existing GitHub Copilot Enterprise setup to route metrics requests to your enterprise-specific API base URL.

Note: This capability is in beta and may not yet be available in your environment.


Before You Begin

  • LinearB role: Company Admin
  • GitHub permissions: Enterprise or organization admin on your *.ghe.com tenant
  • Copilot Usage Metrics policy enabled on your enterprise
  • Your GitHub Enterprise tenant uses a custom subdomain in the form <your-subdomain>.ghe.com

Step 1 — Confirm Your Enterprise API Base URL

GitHub Enterprise Cloud with data residency exposes its API at:

  • https://api.<your-subdomain>.ghe.com

This is the base URL LinearB uses to fetch Copilot metrics for your enterprise.


Step 2 — Enable Copilot Usage Metrics

Ensure Copilot usage metrics are enabled in your GitHub Enterprise settings. Without this policy, the API will not return Copilot usage data.


Step 3 — Create the Authentication Token

Generate a token with access to:

  • Organization or enterprise Copilot metrics (read)

The token must be created on your *.ghe.com tenant and have permission to read Copilot metrics for the relevant organization or enterprise scope.


Step 4 — Connect Copilot in LinearB

  1. Go to Settings → Company Settings → AI Tools → GitHub Copilot.
  2. Provide the authentication token.
  3. Configure organization or enterprise scope.
  4. Click Save.

LinearB will automatically derive the correct API base URL from your *.ghe.com domain. Standard GitHub-hosted Copilot integrations are not affected.


Expected Data

  • Organization-level adoption trends
  • Active AI users
  • AI contribution metrics
  • Cross-team usage insights

Notes

  • Data is updated on a daily cadence
  • Only enterprises hosted on *.ghe.com are covered by this flow; GitHub-hosted enterprises continue to use the standard configuration
  • If metrics fail to sync, verify the enterprise subdomain, the token's Copilot metrics permission, and that the Copilot Usage Metrics policy is enabled

How did we do?

Configuring GitHub Copilot Enterprise

Enabling LinearB AI Services

Contact