> For the complete documentation index, see [llms.txt](https://docs.zipchat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zipchat.ai/settings-tracking-and-security/crawling-settings/cloudflare-allow-zipchat-to-crawl-your-webiste.md).

# Cloudflare: Allow Zipchat to Crawl Your Website

Fix 403 errors when Cloudflare blocks the Zipchat crawler: add a custom rule that skips security checks for the ZipchatBot user agent, step by step.

Cloudflare blocks the Zipchat crawler by default, so Zipchat can't keep your knowledge base up to date. Add one custom security rule that lets the Zipchat crawler through.

## Create the rule in Cloudflare

1. Open Cloudflare and click on your website.

<figure><img src="https://2043605213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvYpZDb6HsnLHFu8ZygCS%2Fuploads%2FK9stFELHZMOun9zl5mLG%2Fimage.png?alt=media&#x26;token=44a4a847-5b51-457e-9d29-dd472136fda9" alt="Selecting the website in the Cloudflare dashboard"><figcaption></figcaption></figure>

2. In the left menu, open **Security → Security rules**, then click **Create rule → Custom rules**.

<figure><img src="https://2043605213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvYpZDb6HsnLHFu8ZygCS%2Fuploads%2FUdrGOGzWZkMLoZP745Bt%2Fimage.png?alt=media&#x26;token=ae9bdf29-27e3-469c-86f1-272b28a12973" alt="Creating a custom security rule in Cloudflare"><figcaption></figcaption></figure>

3. Fill in the custom rule:
   1. **Rule name:** `Allow Zipchat crawler` (or any name you like)
   2. **When incoming requests match:**
      * Field: `User Agent`
      * Operator: `equals`
      * Value: `Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko) compatible; ZipchatBot/1.0; +https://zipchat.ai/bot`
   3. **Then take action:** `Skip`
   4. **WAF components to skip:** select all checkboxes
   5. **Place at:** First
4. Click **Deploy**.

<figure><img src="https://2043605213-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvYpZDb6HsnLHFu8ZygCS%2Fuploads%2FXTIRwn5q2qQqejL670JN%2Fimage.png?alt=media&#x26;token=842a129e-cfa9-4d4e-a15c-485b041fa9eb" alt="Cloudflare custom rule that skips security checks for the Zipchat crawler"><figcaption></figcaption></figure>

Zipchat can now refresh your pages. To check, refresh a page in **Knowledge** in your Zipchat dashboard.

## Your security policy doesn't allow user-agent rules?

If your company does not accept firewall rules based on the user agent, contact <support@zipchat.ai>. For accounts that need it, Zipchat can crawl your site from dedicated static IP addresses that you can allowlist instead.

## FAQ

### Why does Zipchat show 403 errors on my pages?

Your firewall or Cloudflare is blocking the Zipchat crawler. Add the rule above, or ask support about static IP crawling.

### Does this rule change what my visitors see?

No. It only lets requests with the Zipchat crawler's user agent skip Cloudflare's security checks.

### Does Zipchat crawl from fixed IP addresses?

Not by default. Static IP crawling is available on request for accounts with strict firewall requirements.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zipchat.ai/settings-tracking-and-security/crawling-settings/cloudflare-allow-zipchat-to-crawl-your-webiste.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
