Cursor Integration
Connect Cursor to bring your Cursor team usage and spend into Cloud ex Machina, next to your cloud infrastructure costs.
| Data | Cursor Admin API | Key type |
|---|---|---|
| Spend per member | /teams/spend | Admin API key |
| Daily usage per member | /teams/daily-usage-data | Admin API key |
| Team members | /teams/members | Admin API key |
| Audit logs | /teams/audit-logs | Admin 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.
- Sign in to the Cursor dashboard.
- Go to API Keys and click New API Key.
- Name the key
Cloud ex Machina. - Copy the key. The key starts with
crsr_. Cursor shows the key only once.
Step 2: Add the connection in Cloud ex Machina
- In the sidebar, click Integrations.
- Find Cursor (Admin) and click Sign in. If the integration already has a connection, the button is Add connection.
- Fill in API key with the key from Step 1.
- Submit the form. Cloud ex Machina checks the key with Cursor and saves the connection.
Remove a connection
- Click the connection row under the Cursor (Admin) card.
- Click Disconnect.
- Delete the API key in the Cursor dashboard.
Next Steps
- See all available integrations in the Integrations Overview.