# Cursor

## Setup

Click into the App Directory from your Pylon dashboard and open the Cursor integration. Enter your Cursor API key, then select a default repository and model. Save to finish. You can change default repository and model anytime from the Cursor integration page in Pylon.&#x20;

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2FhTde0RZX4jPWA902aj4S%2FScreenshot%202026-02-02%20at%205.49.35%E2%80%AFPM.png?alt=media&#x26;token=1b7ba00d-d8b1-4fef-9fe8-34eee34ad25b" alt=""><figcaption></figcaption></figure>

#### Connected account

The integration page shows which account is linked (the email for the API key you entered). To use a different account, disconnect Cursor and reconnect with another API key.

## Usage&#x20;

1. Open an issue in Pylon
2. Navigate to the Ask AI sidebar&#x20;
3. Mention @Cursor in your message
4. Pylon will feed context to Cursor's agent and deliver a response from Cursor right in your issue copilot. You can move on to another issue while Cursor is thinking and you'll get notified once your answer is ready.

<figure><img src="https://982123570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9hXBoCTTNw5flARlUVJf%2Fuploads%2F45rkqncEVH2MBWYy8Dq0%2FScreenshot%202026-02-04%20at%2011.21.44%E2%80%AFAM.png?alt=media&#x26;token=b9b8f9c4-0057-4ddf-9fef-9e80850745ea" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.usepylon.com/pylon-docs/integrations/codebase/cursor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
