AI Tooling – Setup & Configuration
Use this guide to turn on LinearB AI, configure organization-wide automations, and connect developer AI tools like GitHub Copilot and Cursor. These settings live under Settings → General and Settings → Company Settings → AI Tools.
Required Permissions:
- LinearB: Admin
- Github: Admin, if applicable
- Cursor: Admin, if applicable
TL;DR: What you configure here
- Turn AI Services on or off for your entire organization.
- Choose the operation mode for AI automations (Managed vs. Repository-based).
- Enable LinearB AI automations like AI Review, AI Description, and labeling rules.
- Connect GitHub Copilot and Cursor so usage appears in AI Insights.
AI Services (org-wide toggle)
AI Services is the master switch for LinearB’s AI processing, including AI-driven automations and AI-generated insights.
- Location: Settings → General → Section: AI Services .
- Only admins can enable or disable AI Services.
- When disabled, LinearB stops running AI-powered automations and internal AI processing.
- Other dashboards (for example, DORA, Delivery, Quality, Throughput) continue to work.
LinearB AI & Automations
Connecting GitHub Copilot
LinearB integrates with GitHub Copilot to track adoption, usage, and acceptance metrics across your GitHub organizations. Configuration is done via a GitHub Personal Access Token (PAT). Copilot activity appears in AI Insights → AI Tools Usage and contributes to AI Adoption. As well, find cursor spefiic metircs in Metrics → Metrics Dashboard → Copilot
Before you begin
- LinearB role: Company Admin.
- GitHub permissions: ability to generate a PAT that can access Copilot metrics for the organizations you want to monitor.
Step 1 – Create a GitHub PAT for Copilot metrics
- In GitHub, create a new Personal Access Token.
- Select the scopes required by GitHub’s Copilot metrics API (for example,
user:read,manage_billing:copilot,read:orgas documented by GitHub). - See GitHub docs: Copilot metrics API (required scopes)
- Copy the token and store it securely.
Step 2 – Connect Copilot in LinearB
- In LinearB, go to Settings → Company Settings → AI Tools → GitHub Copilot.
- Paste the PAT into the Token field.
- Choose which organizations to track:
- Include all organizations – track all GitHub orgs visible to the token.
- Select organizations by regex – include orgs whose names match a pattern.
- Select organizations manually – pick orgs from the list.
- Click Save, then verify the status shows Connected with a recent Last updated timestamp.
Copilot - backfilling data: When you connect via the Copilot API, LinearB automatically loads up to the last 90 days of historical data. This backfill runs by default; no extra steps are required.
Copilot sync time varies by provider and data package size.
How to Reauthorize Copilot
- Generate a new PAT in GitHub if the old token expired, was revoked, or changed scopes.
- In LinearB, open Settings → Company Settings → AI Tools → GitHub Copilot.
- Paste the new token and click Reauthorize.
- Optionally:
- Reset data – clears existing Copilot metrics and backfills the last 90 days.
- Reset setting – allows you to reselect which organizations to track.
- Confirm the status returns to Connected.
Connecting Cursor
Cursor integration lets LinearB track adoption and usage metrics for Cursor. Cursor activity appears in AI Insights → AI Tools Usage and contributes to AI Adoption. As well, find cursor spefiic metircs in Metrics → Metrics Dashboard → Cursor
Before you begin
- LinearB role: Company Admin.
- Cursor role: admin permissions to generate an Admin API key.
Step 1 – Generate a Cursor Admin API key
- In Cursor, open Account Settings.
- Locate the Admin API Keys section.
- Click Create New API Key, name it (for example, LinearB Usage Integration), and copy the key.
Step 2 – Connect Cursor in LinearB
- In LinearB, go to Settings → Company Settings → AI Tools → Cursor.
- Paste the Admin API key into the Token field.
- Click Save.
- Verify the status shows Connected with a recent Last updated timestamp.
Cursor - Backfilling data: When you connect via the Cursor API, LinearB is limited to loading up to the last 30 days of historical data. This backfill runs by default; no extra steps are required.
Cursor sync time varies by provider and data package size.
How to Reauthorize Cursor
- Generate a new Admin API key in Cursor if the old key expires or is revoked.
- In LinearB, open Settings → Company Settings → AI Tools → Cursor.
- Paste the new key and click Reauthorize.
- Confirm the status returns to Connected.
Troubleshooting
No AI data in AI Insights
- Confirm AI Services is enabled in Settings → General.
- Check that Managed Mode is selected for LinearB AI & Automations.
- Verify that Copilot / Cursor tokens are valid and show Connected status.
- Allow some time after connecting; usage data may not appear instantly.
Disconnected Copilot or Cursor status
- Recreate the PAT / Admin API key with the required permissions.
- Paste the new token in Settings → Company Settings → AI Tools and reauthorize.
If you still see issues after following these steps, please contact LinearB Support.
Comments
0 comments
Article is closed for comments.