|
| 1 | +--- |
| 2 | +title: Get started |
| 3 | +pcx_content_type: get-started |
| 4 | +sidebar: |
| 5 | + order: 2 |
| 6 | + group: |
| 7 | + badge: beta |
| 8 | +head: |
| 9 | + - tag: title |
| 10 | + content: Get started with Cloudflare AI Audit |
| 11 | +description: Learn how to set up AI Audit. |
| 12 | +--- |
| 13 | + |
| 14 | +import { Render, Steps } from "~/components"; |
| 15 | + |
| 16 | +This guide instructs you through |
| 17 | + |
| 18 | +- Viewing AI crawlers that are interacting with your domain. |
| 19 | +- Creating a rule to block AI crawlers on your website. |
| 20 | + |
| 21 | +## Prerequisites |
| 22 | + |
| 23 | +1. Sign up for a [Cloudflare account](https://dash.cloudflare.com/sign-up/). |
| 24 | +2. [Connect your domain to Cloudflare](/fundamentals/manage-domains/add-site/). |
| 25 | +3. Make sure your domain is [proxying traffic through Cloudflare](/fundamentals/concepts/how-cloudflare-works/#cloudflare-as-a-reverse-proxy). |
| 26 | + |
| 27 | +## 1. Block all AI crawlers |
| 28 | + |
| 29 | +To use AI Audit: |
| 30 | + |
| 31 | +{/* prettier-ignore */} |
| 32 | +<Steps> |
| 33 | +1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain. |
| 34 | +2. Go to **AI Audit**. |
| 35 | +3. From **Most Popular Paths**, select **Block All**. |
| 36 | +4. From the **Bot traffic** page, under **Block AI Bots**, select **Enable**. |
| 37 | +</Steps> |
| 38 | + |
| 39 | +## 2. Block specific bot categories (Enterprise plan only) |
| 40 | + |
| 41 | +Customers on the Enterprise plan -- and with a [Bot Management subscription](/bots/plans/bm-subscription/) -- can choose to only block specific AI crawlers, while allowing others. |
| 42 | + |
| 43 | +{/* prettier-ignore */} |
| 44 | +<Steps> |
| 45 | +1. Go to the **AI Audit**. |
| 46 | +2. From **Most Popular Paths**, select **Block Some**. |
| 47 | +3. From the **Security rules** page, select **Create rule** > **Custom rules**. |
| 48 | +4. Provide a name for the custom rule. For example, "Block unwanted AI crawlers". |
| 49 | +5. From the **Field** dropdown, select **Verified Bot Category**. |
| 50 | +6. From the **Value** dropdown, select the specific bot category you wish to block. |
| 51 | + - You can use **And** / **Or** buttons to add additional conditions. For example, you can use multiple **Or** options to include multiple bot categories in the same rule. |
| 52 | +7. From the **Then take action...** section: |
| 53 | + - For **Choose action**, select **Block**. |
| 54 | + - For **With response type**, select **Default Cloudflare WAF block page**. |
| 55 | +8. From the **Place at** section: |
| 56 | + - For **Select order**, select **First**. |
| 57 | +9. Select **Save**. |
| 58 | +</Steps> |
| 59 | + |
| 60 | +This custom rule will only block the AI bots which belong to the [verified bot categories](/bots/concepts/bot/verified-bots/categories/) you have included in your rule (in step 6). |
| 61 | + |
| 62 | +For more information on creating a custom WAF rule, refer to [Create a custom rule in the dashboard](/waf/custom-rules/create-dashboard/). |
| 63 | + |
| 64 | +## 3. Review detected AI crawlers |
| 65 | + |
| 66 | +Review the AI crawlers detected on your site in the **Metrics** tab of the Cloudflare dashboard for key metrics. |
| 67 | + |
| 68 | +Refer to [Detect AI crawlers](/ai-audit/features/detect-ai-crawlers/) for more information. |
| 69 | + |
| 70 | +## Related resources |
| 71 | + |
| 72 | +Refer to the following related resources: |
| 73 | + |
| 74 | +- Cloudflare blog: [Start auditing and controlling the AI models accessing your content](https://blog.cloudflare.com/nl-nl/cloudflare-ai-audit-control-ai-content-crawlers/) |
| 75 | +- Block AI crawlers that do not adhere to recommended guidelines using [Cloudflare AI Labyrinth](/bots/additional-configurations/ai-labyrinth/). |
| 76 | +- [Direct AI crawlers with managed robots.txt](/bots/additional-configurations/managed-robots-txt/). |
0 commit comments