Skip to main content

Configuring Cursor

Measure Cursor AI usage across repositories and developers. This integration surfaces request activity, code suggestions, and acceptance metrics to help you assess AI effectiveness.

Steven Silverstone
Updated by Steven Silverstone

LinearB integrates with Cursor to track adoption, request activity, and acceptance metrics for conversational coding. This integration helps you understand how developers are using Cursor’s AI capabilities (code suggestions, chat requests, composer usage, and agents) and what impact they have on your workflow.

Company admins configure Cursor in Settings → Company Settings → AI Tools → Cursor by providing a Cursor Admin API key. Once connected, Cursor usage data appears in AI Insights.

Section divider
Cursor usage is surfaced in AI Insights under AI Tools Usage and contributes to broader AI Adoption signals. Chatbots, CI bots, and automated system accounts are excluded from AI metrics.

Summary
  • Generate a Cursor Admin API key in Cursor.
  • Paste the key in Settings → Company Settings → AI Tools → Cursor in LinearB.
  • Confirm the status shows Connected with a recent Last updated timestamp.
  • Review metrics in AI Insights.

Overview

Cursor metrics allow you to:

  • Track active and engaged users across teams.
  • Measure AI-assisted requests, including chat, agent, and composer activity.
  • Monitor code suggestions generated by Cursor and how many are accepted.
  • Evaluate Cursor’s overall contribution to the codebase.

This data feeds directly into the AI Tools Usage and AI Adoption panels in AI Insights.

Cursor usage metrics visible in LinearB AI Insights

Before you begin
  • You must be a Company Admin in LinearB to configure AI Tools.
  • In Cursor, only admin or unpaid admin roles can generate API keys for usage data.
• Treat the API key like a password and keep it secure.
• Copy the key immediately after creation — Cursor will not display it again.

Step 1 – Generate a Cursor Admin API key
  1. Open Cursor and go to Account Settings.
  2. Locate the Cursor Admin API Keys section (under the Settings tab or account management area).
  3. Click Create New API Key.
  4. Name the key (for example, LinearB Usage Integration).
  5. Copy the generated key and store it securely.

Step 2 – Connect Cursor in LinearB
  1. In LinearB, go to Settings → Company Settings → AI Tools → Cursor.
  2. Paste the key into the Token field.
  3. Click Save.
  4. Verify the connection shows Connected with a recent Last updated timestamp. If the status is not green or shows Disconnected, your Cursor token may have expired or been revoked.
If you need to restore a disconnected integration, see Reauthorizing Cursor.
Cursor configuration page in LinearB showing token field and connection status

Metrics available in AI Insights

Once connected, the following Cursor metrics can appear in AI Insights:

  • Active Users — Average number of developers using Cursor per day.
  • Engaged Users — Developers actively accepting AI suggestions per day.
  • Code Tabs Suggested — Average number of AI-generated code blocks suggested per day.
  • Code Tabs Accepted — Average number of suggested code blocks accepted per day.
  • Code Acceptances — Average number of accepted AI completions per day.
  • Code Lines Accepted — Number of AI-suggested lines accepted per day.
  • Agent Requests — Average number of AI agent requests per day.
  • Composer Requests — Average number of AI-assisted composer requests per day.
  • Chat Requests — Average number of chat-based AI requests per day.
  • CMDK Requests — Average number of Cursor CMDK (command kit) requests per day.
Cursor metrics list or panel in LinearB AI Insights

Verify Cursor data in AI Insights

After you connect Cursor, verify it appears in:

  • AI Tools Usage — Adoption trends, request types, and code acceptance metrics.
  • AI Adoption — Cursor’s contributions alongside other AI tools and LinearB AI.
AI Insights showing Cursor contribution in AI Tools Usage or AI Adoption

Reauthorizing Cursor

If the Cursor integration becomes Disconnected (for example, because the API key expired or was revoked), you can reauthorize it as follows:

  1. Go to Settings → Company Settings → AI Tools → Cursor.
  2. Generate a new Cursor Admin API Key in Cursor (Account Settings → Admin API Keys → Create New API Key).
  3. Copy the new key and paste it into the Token field in LinearB.
  4. Click Reauthorize.
  5. Verify the status turns green and shows Connected with a recent Last updated timestamp.
• Cursor does not require additional selections (such as organizations or reset options).

• If the status remains disconnected, confirm the API key has Admin privileges and hasn’t expired.
Reauthorize Cursor flow in LinearB

Troubleshooting

If Cursor data does not appear in AI Insights:

  • Confirm the API key is valid and has not expired or been revoked.
  • Ensure recent Cursor activity exists (usage data may take time to populate).
  • Verify that AI Services are enabled for your organization.
  • If the integration status shows Disconnected, re-enter the token and reauthorize.
Cursor troubleshooting or disconnected status example in LinearB

Related articles

If you still can’t see Cursor data after setup, contact support@linearb.io or visit the LinearB Help Center.

How did we do?

Configuring GitHub Copilot

Contact