# Reference files in chat

The message box takes more than words: a file to read, a project file to point at and a command for the agent.

## Before you start

You need a project with an agent. See [Chat with an agent](/docs/agents/chat.md).

## Reference files

**Studio**

1. In your project, open **Chat**.
2. Click the agent's name at the bottom of the message box.
3. Click **Veryfront Agent**.
4. Click **More**, the + beside the agent's name.
5. Click **Attach files or photos**.
6. Choose a file, here `refund-policy.md`.
7. Click **Attach**. You should now see `refund-policy.md` above the message box. The file is now in your project's **Uploads**, under `_chat`, and stays there if you remove it from the message.
8. Click the message box.
9. Type `@`. You should now see a list of your project's files and folders.
10. Click one of your files, here `support-assistant.ts`.
11. Type a space, then `/`. You should now see a list of commands, from `/build` to `/veryfront`.
12. Click `/plan`. You should now see `@support-assistant.ts` and `/plan` in the message box.

## Next steps

* [Add a skill](/docs/agents/skills.md)
* [Add knowledge](/docs/agents/knowledge.md)
