> ## Documentation Index
> Fetch the complete documentation index at: https://docs.infercom.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor Integration Guide

> Configure Cursor IDE with Infercom's EU sovereign inference. Simple settings override to use MiniMax-M2.7 for AI coding with full GDPR compliance.

[Cursor](https://cursor.com) is an AI-powered code editor built on VS Code. It provides inline code completion, chat, and multi-file editing capabilities.

<Info>
  **Setup time:** \~2 minutes
</Info>

## Prerequisites

* [Cursor editor](https://cursor.com) installed
* [Infercom API key](https://cloud.infercom.ai/apis)
* OpenAI API key (required by Cursor to activate)

<Warning>
  Cursor requires a valid OpenAI API key to enable AI features, even when using a custom endpoint. You can use a minimal OpenAI key with low limits.
</Warning>

## Configuration

### Step 1: Open Model Settings

1. Open Cursor
2. Go to **Settings** (gear icon in left panel)
3. Click on **Models**

### Step 2: Configure API Endpoint

1. Scroll to the **API Keys** section
2. Enable **Override OpenAI Base URL**
3. Enter: `https://api.infercom.ai/v1`
4. Enter your **Infercom API key** in the OpenAI API Key field
5. Also enter a valid **OpenAI API Key** (required by Cursor)

### Step 3: Add Custom Model

1. Click **+ Add Custom Model**
2. Enter the model name: `MiniMax-M2.7`

### Step 4: Select Your Model

1. In the models list, **disable all default models**
2. Enable your Infercom model
3. Select `MiniMax-M2.7` in the right panel when coding

## Model

Use `MiniMax-M2.7` - optimized for agentic coding with 192K context window.

## Usage

Once configured, Cursor will route all AI requests through Infercom:

* **Inline completion:** Type and see suggestions
* **Chat:** Use `Cmd+L` / `Ctrl+L` to open chat
* **Edit:** Select code and use `Cmd+K` / `Ctrl+K`

## Troubleshooting

### AI Features Not Working

Ensure you have both:

* A valid OpenAI API key entered (activates Cursor's AI features)
* Your Infercom API key in the Override field

### Model Not Responding

Verify the endpoint is correct:

```
https://api.infercom.ai/v1
```

Note: No trailing slash.

### Wrong Model Selected

Check that:

1. Default models are disabled
2. Your custom model is enabled
3. The correct model is selected in the chat panel

## Limitations

* Requires valid OpenAI API key to activate editor
* Some Cursor-specific features may not work (Cursor Tab, etc.)
* Model names show as custom rather than branded

## Next Steps

* [Cline](/en/agentic-coding/cline) - VS Code extension alternative
* [Continue](/en/agentic-coding/continue) - Open-source VS Code extension
* [Choosing a Tool](/en/agentic-coding/choosing-a-tool) - Compare all options
