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

# Uploading files

> Add documents the bot should answer from

Upload documents on the **Knowledge** page in the dashboard. You can select several files at once.

## Supported formats

Only plain-text formats are supported:

* `.md` — Markdown
* `.txt` — plain text

Other formats (PDF, DOCX, etc.) are rejected with an error. If your content lives in another format, export or paste it into a Markdown file first.

## What happens after upload

Each file becomes its own knowledge source and goes through **Pending → Processing → Ready**. Uploading a file costs **2 credits**; you'll see the charge in your credit balance right away.

Once a file is **Ready**, the bot can use it in answers immediately — and links back to it as a source when it does.

## Tips for good source files

* One topic per file. A file called `refund-policy.md` beats a 50-page `everything.md`.
* Use headings — they help the bot find the right section.
* Keep answers factual and current: the bot will repeat exactly what's written.
* When information changes, delete the old file and upload the new version.
