# Starting the Crawler

The Site Search 360 crawler builds your [search index](https://docs.sitesearch360.com/your-search-index.md): the pages and documents your search can return. You tell it where to start in one of two ways, or both: **Website Crawling** follows the links it finds from a root URL, and **Sitemap Indexing** reads the URLs listed in your sitemap. Online shops can also import products with a [product feed](https://docs.sitesearch360.com/feeds.md).

**Where to find it:** **Data Sources** → [**Website Crawling**](https://app.sitesearch360.com/data/import/crawling) or [**Sitemap Indexing**](https://app.sitesearch360.com/data/import/sitemap)

Both pages share the same [crawler settings](https://docs.sitesearch360.com/crawler-settings.md) and [advanced settings](https://docs.sitesearch360.com/advanced-crawler-settings.md).

***

## Website Crawling

1. Under **Root URLs**, enter the page to start from, usually your homepage. Click **Add Root URL** to add more.
2. Click **Save**. If a root URL can't be reached, for example because of a login or an IP block, the Control Panel tells you before saving.
3. Click **Index Root URL(s)**. The crawler visits each root URL, follows the links on your domain, and adds the pages it finds.
4. Turn on **Auto Re-Index** to crawl again on a schedule.

There's no page count in advance: watch the [Index](https://app.sitesearch360.com/data/list/content) page fill up while the crawl runs.

***

## Sitemap Indexing

Sitemap Indexing is the quickest way to index a site: the crawler fetches the listed URLs directly instead of discovering them. When you sign up, Site Search 360 looks for a sitemap in your `robots.txt` and at `/sitemap.xml` and sets it up if it finds one; otherwise Website Crawling is set up instead.

To add or change sitemaps:

1. Under **Sitemap URLs**, enter the URL of your sitemap or sitemap index, for example `https://www.example.com/sitemap.xml`. Click **Add Sitemap URL** for more, up to 100.
2. Click **Test Sitemap**. The message shows how many URLs were found, and whether your plan allows them all.
3. Click **Index All Sitemaps**.
4. Turn on **Auto Re-Index** to index again on a schedule.

The sitemap must follow the [sitemap protocol](https://www.sitemaps.org/protocol.html).

### Using both methods

You can use Website Crawling and Sitemap Indexing together. Sitemap content is processed first, and a URL found by both is indexed once. Turn on **Auto Re-Index** on each page you use.

***

## Index several sites in one project

If your content spans several domains or subdomains, such as `blog.example.com`, `example.com` and `example-shop.com`:

* **Sitemaps:** add one sitemap per site, or one sitemap that lists the URLs of all of them.
* **Root URLs:** add one root URL per site under Website Crawling.
* **API:** send pages from any site through the [API](https://docs.sitesearch360.com/api.md), by URL or as JSON. The API is included in the Batman and Batman Pro plans and available on custom plans.

To control which of the found pages end up in the index, see [Crawler Settings](https://docs.sitesearch360.com/crawler-settings.md).
