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

# Cursor

Cursor is a widely adopted AI code editor by developers. A powerful tool to automate your development workflow as well as remove the manual effort of writing code. With Bruno's local-first approach you can configure Cursor to automate your API development workflow.

## Configure Cursor with Bruno

1. Download and install Cursor from [here](https://cursor.com/download).

2. After installing Cursor, open your project and create a `.cursor/rules/instructions.md` file.

Your project folder structure should look like this:

<Tree>
  <Tree.Folder name="my-project" defaultOpen>
    <Tree.Folder name=".cursor" defaultOpen>
      <Tree.Folder name="rules" defaultOpen>
        <Tree.File name="instructions.md" />
      </Tree.Folder>
    </Tree.Folder>

    <Tree.Folder name="src" defaultOpen>
      <Tree.Folder name="routes">
        <Tree.File name="users.js" />

        <Tree.File name="auth.js" />
      </Tree.Folder>

      <Tree.File name="app.js" />

      <Tree.File name="server.js" />
    </Tree.Folder>

    <Tree.File name="package.json" />

    <Tree.File name=".gitignore" />
  </Tree.Folder>
</Tree>

<Warning>
  You can write your own instructions for Cursor to follow while working on the collection or you can use the [default instructions provided by Bruno](https://github.com/bruno-collections/ai-assistant-prompts/tree/main/prompts/cursor).
</Warning>

After creating the instructions file, you can start using Cursor to automate your API development workflow. See [Use cases](./use-cases) for example prompts and workflows.
