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

# Search your website

> Let an assistant read the pages of your website that you choose and answer with current information.

In an assistant's **General** section, the **Search your website** ability lets the assistant, by voice or chat, read the pages of your website that you choose and answer with what they say. Pages are read live during the conversation, so the assistant says what your website says now.

The assistant reads exactly the pages you add. It does not browse the rest of your website, follow links or search the internet. The ability is on every assistant but does nothing until you add at least one page.

## Add a search

1. In the assistant's **General** section, open **Search your website**.
2. Enter a **Name**, for example "Enrolment".
3. Paste the address of a page into **Address of a page** and select **Add**. A search holds up to 10 pages.
4. Optionally, fill in **When to use it**, for example "when they ask about deadlines or how to enrol".
5. Save.

Each page is read as soon as you add it. If it reads, it joins the list with its title and address. If it cannot be read, it is not added and you see "We could not read this page. Check the address or try another one." under the field. The address stays in the field so you can correct it.

### Why a page may not be read

* The address does not exist, or the website returns an error page.
* The address is not a web page, for example a file that is not HTML.
* The page has very little text.
* The page needs JavaScript to show its content. Klatt reads the text the page delivers and does not run JavaScript, so that content never reaches the assistant. This is common in single-page web apps and in content loaded by a widget.

Only secure (https) addresses are accepted.

## See what it will read

Select **See what it will read** on a page to see the text your assistant will receive from it, without menus, images or links. Use it to check that the detail you care about is there. If a page is so long that the search limit cuts it, the text stops and you see "Your assistant will not read the rest of this page."

## Several searches on one assistant

Select **Add search** to create more searches on the same assistant. Split your pages by topic, for example one search for enrolment and deadlines and another for prices or opening hours. Two reasons:

* Each search reads up to 10 pages and up to 15,000 tokens of text in total, shared fairly between its pages. Putting everything in one search shortens long pages.
* With separate, clearly named searches, the assistant consults only the pages that match the question.

## When to use it

**When to use it** is optional. Write the topics the search should be used for, for example:

* "When they ask about deadlines, requirements or dates for enrolling."
* "When they ask about the price or features of a model."
* "When they ask about opening hours, services or how to book."

## Tip for catalogs

For shops, dealerships and product catalogs, add the listing page and the product pages people ask about most. The assistant knows what is on the pages you add:

* A listing page gives the items it shows. If it shows the first 12 and the rest are behind "Load more" or "See all stock", the assistant does not know the others and says so.
* A product page gives the details of that item.

Use **See what it will read** on the listing page to check which items come through.

## Limits

* Up to 10 pages per search.
* Up to 15,000 tokens of text per search, shared fairly between its pages.
* Each page can be up to 2 MB and can follow up to 5 redirects.
* Only https pages. JavaScript is not run, so pages that only show their content with JavaScript cannot be added.
* On calls, pages are read when the call starts so answers are fast; in chats, they are read when the assistant searches. A search has a deadline of 2.5 seconds on calls and 5 seconds in chats; pages not ready in time are left out.
* A page's text is kept for up to 5 minutes, and a call uses the text it read when it started. Changes on your website reach the assistant in the next conversation after that.
* The assistant treats page text as untrusted content and does not follow instructions found in it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.