Skip to main content

Cursor Integration

Connect Cursor to bring your Cursor team usage and spend into Cloud ex Machina, next to your cloud infrastructure costs.

DataCursor Admin APIKey type
Spend per member/teams/spendAdmin API key
Daily usage per member/teams/daily-usage-dataAdmin API key
Team members/teams/membersAdmin API key
Audit logs/teams/audit-logsAdmin API key

Prerequisites​

  • Cloud ex Machina Admin access.
  • A Cursor Enterprise team. Other plans have no Admin API.
  • The admin role in the Cursor team.

Step 1: Create an Admin API key​

Key permissions

An Admin API key can also change team settings, for example spend limits. Store the key in a safe place.

  1. Sign in to the Cursor dashboard.
  2. Go to API Keys and click New API Key.
  3. Name the key Cloud ex Machina.
  4. Copy the key. The key starts with crsr_. Cursor shows the key only once.

Step 2: Add the connection in Cloud ex Machina​

  1. In the sidebar, click Integrations.
  2. Find Cursor (Admin) and click Sign in. If the integration already has a connection, the button is Add connection.
  3. Fill in API key with the key from Step 1.
  4. Submit the form. Cloud ex Machina checks the key with Cursor and saves the connection.

Remove a connection​

  1. Click the connection row under the Cursor (Admin) card.
  2. Click Disconnect.
  3. Delete the API key in the Cursor dashboard.

Next Steps​