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

# Using Cursor with Story

> Add the entire Story documentation to Cursor.

[Cursor](https://www.cursor.com/) is an AI code editor that makes it easy to write code while building Story apps. Let's walk through how to setup Cursor for the best possible results with Story.

## Add Story Docs

Adding Story docs lets you interact with our docs directly and get the most accurate answers to your questions.

1. Go to Cursor Settings > Features > Docs and click "+ Add new doc"

<Frame>
  <img src="https://mintcdn.com/story/Ci-RgMKFKns3XzFq/images/ai-agents/add-cursor.png?fit=max&auto=format&n=Ci-RgMKFKns3XzFq&q=85&s=70c1f19e1282bdbb0da63d45a41787ca" width="1402" height="468" data-path="images/ai-agents/add-cursor.png" />
</Frame>

2. Paste the URL `https://docs.story.foundation`

<Note>
  This is our entire documentation combined into a single `.md` file, **which is
  automatically updated every single time our docs have changes.**
</Note>

3. Change the name to Story, and leave everything else the same

<Frame>
  <img src="https://mintcdn.com/story/Ci-RgMKFKns3XzFq/images/ai-agents/add-cursor-2.png?fit=max&auto=format&n=Ci-RgMKFKns3XzFq&q=85&s=54ba3d304def6b5d232e60877a565074" width="1068" height="404" data-path="images/ai-agents/add-cursor-2.png" />
</Frame>

## Using the Docs

You can then reference the Story docs in your prompt with the `@Story` symbol.

<Frame>
  <img src="https://mintcdn.com/story/Ci-RgMKFKns3XzFq/images/ai-agents/add-cursor-3.png?fit=max&auto=format&n=Ci-RgMKFKns3XzFq&q=85&s=9207a124ad369c88fe945a58cbc97d58" width="632" height="268" data-path="images/ai-agents/add-cursor-3.png" />
</Frame>
