You can train an AI agent with the pages of a website, for example your help center, your product pages or your FAQ. The agent then uses this text to answer questions.
Import a website
- Go to Settings > AI Assistant > AI agents.
- Click Train agent on the agent.
- Click Import from URL.
- Enter the address of a page, for example https://example.com/help.
- Choose the link depth and the max pages, then click Import.
- Click Start training.
The import can take up to 2 minutes. The imported pages are only used after the training.
Link depth
| Option | What is read |
| Only this page | Only the page you entered. |
| This page and the pages it links to | The page and every page it links to. This is the best choice for most sites. |
| 2 levels of links | Also the pages that those pages link to. |
| 3 levels of links | One more level. Use it with a small max pages value. |
Max pages stops the import after that many pages (up to 50).
Turn on Only pages under this path to stay in one part of the site. For example, with https://example.com/help/start only the pages under /help/ are read.
Use a sitemap
To import an exact list of pages, enter the address of the sitemap, for example https://example.com/sitemap.xml. The pages listed in the sitemap are read. Their links are not followed.
What is imported
- Only pages of the same website. Links to other websites are skipped.
- Only the main text of a page. Menus, headers, footers and scripts are removed.
- Pages that the website blocks in its robots.txt file are skipped.
- Files like PDF, images and videos are skipped.
- Pages with the same text are imported once.
- Long pages are split into small parts. Very long pages are shortened.
Security
Only public websites can be imported. Addresses in your local or private network (like localhost, 127.0.0.1 or 192.168.x.x) are blocked, also when a public page redirects to them. Only the normal web ports (80 and 443) are allowed. Only admins can import pages.
Import only websites you trust. The agent uses their text as facts.
Update the pages
The text is saved when you import it. When the website changes, delete the old source from the training list and import the URL again.