# Add web pages

URL: https://docs.assistantcore.com/en/knowledge-base/web-crawling

Add a web page, a file link, or up to 20 pages of a website to the knowledge base from the Admin Panel or an AI app.

Add content from the web to your assistant's knowledge base: one page, a link to a file, or up to 20 pages of a website. Use the Admin Panel, or ask an AI app such as Claude or ChatGPT connected through [Assistant Core MCP](/en/assistant-core-mcp).

## Before you start [#before-you-start]

- You need the **Assistant Owner** or **Assistant Admin** role on the assistant.
- Each page or website you add counts as one document toward the owner's plan limit. See [Plans and pricing](/en/billing/plans-pricing).
- Reading and indexing the content uses your credits. See [Credits](/en/billing/credits).
- The page must be public. Pages behind a login cannot be read, and addresses on a private network, such as `localhost`, are refused.

## What gets added [#what-gets-added]

| The URL points to | What is added |
| --- | --- |
| A file with a [supported extension](/en/knowledge-base/upload-documents#supported-files) (except `.html`, `.htm`) | The file is downloaded and added like an upload, up to 25 MB |
| Anything else, including `.html` pages | The page is read as one web page, without menus and footers |

When you crawl a website instead:

- Crawling starts at the URL you give and follows links on the same site.
- It reads 5 pages unless you ask for more, and at most 20.
- It takes about a minute for 20 pages.
- All pages are saved as **one** document named by the site's address, such as `shop.vn`. Each passage keeps the address of the page it came from, so the assistant can cite it.

## Add in the Admin Panel [#add-in-the-admin-panel]

1. Open the [Admin Panel](https://admin.assistantcore.com), select the assistant, and open **Knowledge Base**.
2. Click **Add web page**.
3. Enter the **Page URL**.
4. To crawl the site, turn on **Crawl linked pages** and set **Pages to crawl** (1 to 20, including this page).
5. Click **Add**.

The document appears in the list at once with **Reading…** under it, and is ready once that disappears. The list updates by itself; you can leave the page meanwhile. If you stay on the page, a notice tells you when it is ready or couldn't be read.

## Add from an AI app [#add-from-an-ai-app]

Connect your AI app to [Assistant Core MCP](/en/assistant-core-mcp) with **View and edit** access to the assistant, then ask it, for example:

> "Add https://shop.vn/bang-gia to Shop A's knowledge base."

> "Crawl https://help.shop.vn into Shop A's knowledge base, up to 15 pages."

The AI app tells you the content is being read, and can list the knowledge base to see when it is ready.

## Check that it worked [#check-that-it-worked]

Look for the new document in **Knowledge Base** in the Admin Panel. Web documents show a **WEB** badge and link to their page. Then ask the assistant a question the pages answer.

## Update or remove web content [#update-or-remove-web-content]

Web content is not refreshed automatically. When the site changes:

1. Delete the old document in **Knowledge Base** in the Admin Panel, or ask the AI app to delete it.
2. Add the page or crawl the website again.

If nothing on the site changed, the new document is not read and shows "This content is already in the knowledge base." Delete it.

## Troubleshooting [#troubleshooting]

<Accordions>
<Accordion title="Couldn't read this page. Check that the URL is public and try again.">
The site did not answer, or it needs a sign-in. Open the URL in a private browser window to check that anyone can see it.
</Accordion>

<Accordion title="Your plan's knowledge base document limit is reached.">
Delete a document you no longer need, or upgrade the plan. See [Plans and pricing](/en/billing/plans-pricing).
</Accordion>

<Accordion title="No text found to read.">
No page gave any text: the site may need a sign-in, or show its content only after scripts run. Delete the document, or click **Try again** if the site was down.
</Accordion>

<Accordion title="Couldn't be read.">
A temporary problem stopped the crawl. Click **Try again** next to the message.
</Accordion>
</Accordions>

<Callout type="warn">
Only add websites you have the right to use, and do not add pages with personal data or anything you would not want the assistant to repeat to users.
</Callout>

<Cards>
<Card title="Upload documents" description="Add PDF, Word, and other files to the knowledge base." href="/en/knowledge-base/upload-documents" />

<Card title="Best practices" description="Prepare content so the assistant finds the right answer." href="/en/knowledge-base/best-practices" />
</Cards>