> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/welcome/ai-gateway/ai-gateway-integration/cursor.md).

# Cursor

[**Cursor**](https://cursor.com/) is a code editor built for programming with AI.

You can view [**Help Guide**](https://cursor.com/docs) for more details about installation and API integration.

{% hint style="info" %} <mark style="color:blue;">**Note**</mark>

<mark style="color:blue;">You need upgrade to Pro to manage the API endpoints.</mark>
{% endhint %}

## API Endpoint Management

1. Open the editor, click the **gear icon** in the top-right corner, then navigate to **Cursor** **Settings → Models**.
2. Expand **API Keys**, enable and enter **Open AI Key**, and **Override OpenAI Base URL**.

   <figure><img src="/files/neEWJPou7EBaNl2yMihc" alt=""><figcaption></figcaption></figure>
