Prerequisites
- A Console account
- Cursor IDE installed (any version)
- docs.integrations.cursor.prereqs.s3
Step 1: Get your credentials
- Log in to your Console
- Go to Access Credentials page
- Copy your Base URL and API Key
Credentials
Base URL: https://your-router-domain.com/v1
API Key: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxStep 2: Configure Cursor
- Open Cursor Settings: Cursor → Settings → Models
- Click "Add Model", enter the model name (e.g. claude-sonnet-4-6)
- Enter your API Key in the "OpenAI API Key" field
- Enter your Base URL in the "OpenAI Base URL" field
- Enable the model
Cursor requires the Base URL to end with /v1. Double-check the format from Console.
Step 3: Verify the connection
Send a message in Cursor Chat. If you receive an AI response, the integration is successful. Check your API Key and Base URL if you see errors.
Troubleshooting
- Cursor shows "invalid API key"
- Ensure the API Key was copied completely without extra spaces.
- 401 Unauthorized error
- API Key is invalid or expired. Create a new one in Console.
- 429 Too Many Requests
- Too many requests. Wait a moment and retry.
