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

# Cursor

Cursor IDE is an AI-first code editor that deeply understands your whole codebase to offer natural-language coding, multi-file refactoring, and smart autocomplete. It blends project-level context with LLM-powered agents to speed up development while letting you review exactly what changes before applying them.

## Prerequisites

Before setting up the integration, ensure you have:

* **Unbound CLI**: Installed and logged in — see the [CLI guide](/cli/overview)
* **Cursor**: [Download Cursor](https://cursor.com/download)

## Setup with Unbound CLI

```bash theme={null}
unbound setup cursor
```

This will configure Cursor to route all AI requests through Unbound. Cursor will restart automatically.

To remove the Unbound configuration:

```bash theme={null}
unbound setup cursor --clear
```

## Usage

### Basic Usage

After configuration, Cursor will automatically route completions and AI actions through the Unbound Gateway.

## Security Benefits

Using Cursor with Unbound Security AI Gateway provides:

* **Request Monitoring**: All AI requests are logged and monitored
* **Analytics**: See which files are most touched by AI through coding agents
* **Compliance**: Ensure AI interactions meet your organization's standards
* **Audit Trail**: Complete visibility into AI usage patterns

<CardGroup cols={2}>
  <Card title="Unbound CLI" icon="terminal" href="/cli/overview">
    Install the CLI to set up and manage tools
  </Card>

  <Card title="Tool Policies" icon="shield" href="/policies/tool-policies">
    Configure security guardrails for AI tools
  </Card>
</CardGroup>
