> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/~/revisions/KY3QqEqZPV6ifxqjwoLa/ide-plugins/cursor-ide.md).

# Cursor IDE

[Cursor](https://cursor.com/) is a code editor built for programming with AI. By integrating Aikido into your Cursor IDE you can scan your codebase for **secrets, API keys** and **SAST** code issues as you develop. It runs scans whenever you open or save a file.

Every time you make and save changes in a file, a scan runs. If any issues are detected, they are highlighted in the editor and also displayed in the Problems panel. When you hover over a detected SAST issue, additional context about the problem is provided.

## How to Install <a href="#how-to-install" id="how-to-install"></a>

Cursor supports installing Visual Studio Code extensions. Follow the steps below:

**Step 1.** Open the Extensions view in Cursor, type 'Aikido' in the search bar. Click install on the Aikido Extension page. After installation, you will be asked to add your personal access token (step 2).

**Step 2.** In Aikido, go to the [Cursor IDE integration page](https://app.aikido.dev/settings/integrations/ide/cursor) and create your token.

**Step 3.** Check out the examples in our docs on the [Open VSIX marketplace to test ](https://open-vsx.org/extension/AikidoSecurity/aikido)whether everything works well.

## Troubleshooting

{% content-ref url="/pages/EdBhlGHmXPTI17yEJA8f" %}
[VS Code - Extension keeps disconnecting](/~/revisions/KY3QqEqZPV6ifxqjwoLa/ide-plugins/troubleshooting/vs-code-extension-keeps-disconnecting.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/~/revisions/KY3QqEqZPV6ifxqjwoLa/ide-plugins/cursor-ide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
