# Cursor

[Cursor](https://cursor.sh/) is a modern IDE built on top of VS Code with enhanced AI capabilities.

Follow this guide to use Cursor to access your Coder workspaces.

If your team uses Cursor regularly, ask your Coder administrator to add a [Cursor module](https://registry.coder.com/modules/cursor) to your template.

## Install Cursor

Cursor can connect to a Coder workspace using the Coder extension:

1. [Install Cursor](https://docs.cursor.com/get-started/installation) on your local machine.
2. Open Cursor and log in or [create a Cursor account](https://authenticator.cursor.sh/sign-up) if you don't have one already.

## Install the Coder extension

1. You can install the Coder extension through the Marketplace built into Cursor or manually.

### Extension Marketplace
   1. Search for Coder from the Extensions Pane and select **Install**.
   2. Coder Remote uses the **Remote - SSH extension** to connect. You can find it in the **Extension Pack** tab of the Coder extension.

## Open a workspace in Cursor

1. From the Cursor Command Palette (Ctrl+Shift+P or Cmd+Shift+P), enter `coder` and select **Coder: Login**.
2. Follow the prompts to log in and copy your session token. Paste the session token in the **Paste your API key** box in Cursor.
3. Select **Open Workspace** or use the Command Palette to run **Coder: Open Workspace**.
