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

# Cursor integration guide

Cursor is an AI-assisted code editor. Follow the steps below to connect Cursor with a model hosted on [SambaCloud](http://cloud.sambanova.ai?utm_source=cursor\&utm_medium=external\&utm_campaign=cloud_signup).

## Prerequisites

* Ensure that you have a **Cursor Pro plan**.
* Make sure you have the [Cursor editor installed](https://cursor.com/en) and an active SambaCloud account.
* Obtain your **SambaNova API key** and **model name** from the [SambaCloud Dashboard](https://cloud.sambanova.ai/dashboard).

## Step 1: Launch Cursor and open model settings

1. Open the Cursor application.
2. From the **left-hand panel**, navigate to **Settings**.
3. Click on the **Models** section.

## Step 2: Add SambaNova as a custom model

1. Scroll down to the **API Keys** section.
2. Enable the **Override OpenAI Base URL** toggle.
   * Enter: `https://api.sambanova.ai/v1`
3. In the "OpenAI API Key" field, enter your **SambaNova API Key**. (This field is labeled "OpenAI" but will be sent to the SambaNova endpoint you configured above.)
4. Click the **+ Add Custom Model** button.
5. In the **Model Name** field, paste the model name from your SambaCloud dashboard.
   * Example: `Llama-4-Maverick-17B-128E-Instruct`

## Step 3: Disable other models

1. In the models list, **disable all default models**.
2. Ensure only your newly added **SambaNova model** remains enabled.

## Step 4: Confirm and finalize

1. Under **API Keys**, double-check that:
   * **OpenAI API Key** is entered.
   * **Override OpenAI Base URL** is enabled.
2. You may see a confirmation popup – click **Confirm** or **Allow** if prompted.

## Step 5: Start using SambaNova in Cursor

1. In the **right-hand panel**, locate and select the **SambaNova model**.
2. Begin coding or chatting – your requests will now be routed to your selected model on SambaCloud.
