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

> ## Agent Instructions
> HelpAlive is an AI agent inside a company's web app. It answers the app's signed-in users from the company's docs, and does tasks for them in the app or shows them how.
> It reads the page as text and never takes screenshots. It does only what that user could do. It hands back steps only the user should take, such as uploads, codes and passwords it wasn't given.
> When it can't solve something, it writes a request with the user. The company's team answers on Issues, and the answer comes back in the chat.
> A company installs it with one script tag and one identify() call, on any web app in the browser. There are no elements to tag, tours to write or APIs to build.
> In the HelpAlive dashboard, the company trains it on its docs and chooses who gets it, whether it does the steps or shows how, and how much it may be used.
> Pages to start from: Quickstart https://docs.helpalive.com/quickstart.md, Install the script https://docs.helpalive.com/installation.md, Will it work with my app? https://docs.helpalive.com/sdk/compatibility.md, and Security https://docs.helpalive.com/trust/security.md.
> All the facts in one place: https://docs.helpalive.com/product/facts.md. Plans and prices, kept current: https://docs.helpalive.com/dashboard/plans.md. Support: support@helpalive.com.

# Train the HelpAlive agent on your docs and files

> Add the websites and files the HelpAlive agent answers from, keep them up to date, and set its tone, answer length, language and custom responses.

**Train** is where Admins choose what the agent knows and how it answers. You add your help center, docs site or files here. You also set the agent's tone, answer length, language and custom responses. Your users get answers only from what you publish, never from drafts.

![The Knowledge sources list on Train, with Add your help or docs site outlined](https://mintcdn.com/helpalive/Vz3x6K6TUL39YPMO/images/dashboard/train.webp?fit=max\&auto=format\&n=Vz3x6K6TUL39YPMO\&q=85\&s=c001883bad84386644ffc2d2ff818c4d)

## Add a source

**1. Add your site or files**

Under **Knowledge sources**, add the home page of your help center or docs site, not your app. To read only one section, add that section's address instead. We read the pages under that address on the same site, up to 1,500, and check them for changes every week. Or upload files: PDF, MD, TXT or DOCX, up to 10 MB each.

**2. Wait until it's ready**

The source is crawled, then shows as a draft with its number of pages. While we read it, its row shows the progress. Once we know the pace, the row also shows about how many minutes the current step has left.

**3. Try it, then publish**

Ask it questions in **Test → Question batches**, which answer from your drafts. Then press **Publish**. See [Publishing](https://docs.helpalive.com/dashboard/publishing.md).

> [!WARNING]
>
> The agent needs at least one published source to run. Removing your last published source turns the agent off for everyone. It stays off until you publish another source and turn it on again in **Controls**.

## Keep sources up to date

Each website is crawled again on a schedule: every 3 days, weekly, every 2 weeks, monthly, or only when you ask. A new website starts on a weekly schedule.

* An automatic sync goes live by itself. If nothing changed, nothing waits for you.
* A re-crawl you start yourself waits for **Publish** if any page changed, and shows how many.
* If an automatic sync finds far fewer pages than are live, we hold it for you to check. The site may have been down or blocked us. Automatic syncs pause until you publish or re-crawl.
* What is live keeps answering while a crawl runs, and if it fails.
* Removing a source applies at once, without **Publish**.

When your help center publishes each article in several languages, we read the language of the address you add and leave out the translations. The agent still answers in your users' language from those pages.

To write docs that the agent answers well from, see [Write docs for the agent](https://docs.helpalive.com/dashboard/writing-for-the-agent.md).

## Personalization

Changes here wait for your next **Publish**.

| Setting | Choices |
| - | - |
| Tone of voice | Professional, Friendly, or Neutral (the default). |
| Answer length | Standard (the default): 1 to 3 sentences. Detailed: thorough when needed, brief when not. |
| Language | Match each user (the default): the language each user writes in. Match the app: the language your app shows this user. One language: always the one you pick. |

The widget's own words follow the language too. See [Chat](https://docs.helpalive.com/product/chat.md#languages).

### Custom responses

A custom response is what the agent says on a topic you choose. Describe in plain words when to use it, and what to say. The agent reads your description to decide when it applies. You can keep up to 15, and turn each on or off.

## Troubleshooting

* **"Couldn't add that address."** Use the public web address of your docs, starting with `https://`.
* **"The crawl did not finish."** Re-crawl the source. If it fails again, check that the site is public.
* **"Only this one page was read."** You added the address of a single page, so only that page and the pages under it were read. If your help center has more, add its home page instead.
* **Your app still gives the old answer.** New sources, re-crawls you start and **Personalization** changes wait for **Publish**.

## Next

> [card] [Test](https://docs.helpalive.com/dashboard/test.md)
>
> Try your drafts before your users see them.

> [card] [Publishing](https://docs.helpalive.com/dashboard/publishing.md)
>
> What waits for Publish, and what applies at once.

> [card] [Controls](https://docs.helpalive.com/dashboard/controls.md)
>
> Turn the agent on once a source is live.


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