# Docs and files

The quickest way to give Answerable's agent your product knowledge: import your website by its address, and upload documents that aren't online. Neither needs anything built on your side. Add them under **Knowledge → Docs and files → Add knowledge**, as an admin.

The agent searches imported docs alongside your help center's articles, your [memory](https://answerable.co/docs/knowledge/memory.md), and any [docs search](https://answerable.co/docs/knowledge/docs-search.md), reads the sections it relies on, and may quote them to customers. **Import only public pages, and upload only what any customer may read.**

## Websites

Choose **Website** and give the address of your docs, such as `example.com/docs`. Any public site works: your docs, an old help center, or your product's own pages. Answerable first finds the site's pages and shows how many there are; once you start the import, it reads them in the background and splits them into sections the agent can search. Imported sites are refreshed every day, and **Refresh** reads one again at once.

### How Answerable reads a site

- **Scope:** only pages under the address given, after the start page's redirects. `example.com/docs` imports `/docs/…` and nothing else on the site. An address that redirects to a single article (`docs.example.com` to `/docs/introduction`, say) imports the site, not just that article.
- **Finding pages:** the sitemaps robots.txt lists, `/sitemap.xml`, then `/llms.txt`; without either, the links on the start page, followed up to 3 links deep. A sitemap with `lastmod` dates lets refreshes skip unchanged pages.
- **Size:** a very large site is imported a part at a time (`example.com/docs/developers/api`, say). An import that's too large stops and says why.
- **Politeness:** one page at a time, a second apart, or robots.txt's `Crawl-delay` up to 10 seconds. `429` and `503` are retried after `Retry-After`. Requests send `User-Agent: answerable/1.0 (+https://answerable.co)`, and `ETag` and `Last-Modified` are used to ask for a page only if it changed.
- **Respected:** robots.txt rules for `answerable` (or `*`), `noindex` and `nofollow` in a `robots` or `answerable` meta tag, `noindex` in an `X-Robots-Tag` header, and `rel="canonical"`.
- **Content:** HTML (the main content: navigation, headers, and footers are left out), Markdown, and plain text. Where a site lists its pages as Markdown (as an `llms.txt` usually does), the agent reads the Markdown and links customers to the page itself: the one the Markdown names as canonical (a `Link` header with `rel="canonical"`), or the same address without `.md`. Pages must work without signing in and show their text without JavaScript.

## Uploaded files

Choose **Files** for documents that aren't online, such as internal guides you're happy for customers to see, or policies. Answerable reads PDF, Word (`.docx`), Markdown, plain text, and HTML files. Each file's text is split into sections the agent searches like a site's pages. Remove a file and the agent stops using it at once.

## Limits

| In a workspace | Trial | Pro |
| --- | --- | --- |
| Knowledge | 10 MB | 50 MB |

A plan sets how much knowledge a workspace can hold, as one number: the text Answerable keeps from its websites and files, in megabytes. It's the text that counts, not the size of a page or a file, so a 5 MB PDF with 40 pages of text uses about 0.1 MB. **Knowledge** shows how much is used, under the list.

Behind that number, Answerable guards against imports that run away: very large sites, pages and files, and very many of them. An import or upload that reaches one stops and says which.

## Checklist

- [ ] The docs are public and server-rendered
- [ ] A sitemap lists every docs page, ideally with `lastmod`
- [ ] robots.txt doesn't disallow `answerable` from the docs
- [ ] Pages answer with `ETag` or `Last-Modified`, so refreshes stay cheap
- [ ] Uploaded files hold nothing a customer shouldn't read
