---
title: TollBit
summary: null
url: >-
  https://www.fastly.com/documentation/guides/integrations/non-fastly-services/tollbit
---


Fastly's [Bot Management](/guides/security/bot-management/) product can be integrated with [TollBit](https://tollbit.com/) to manage and monetize bot traffic. By using the two products together, you can detect and classify bots, redirect them to your TollBit Bot Paywall, verify tokens and grant content access to bots with valid tokens, and require all other AI bots to pay for access.

## Prerequisites

To use this integration, you must have a [paid account](/guides/account-info/billing/account-types#paid-accounts) with a contract for Fastly's services and you must purchase [Bot Management](https://docs.fastly.com/products/bot-management) for deployment on Fastly's Edge Cloud. Bot Management is not available for the [Essential platform](https://docs.fastly.com/products/fastly-next-gen-waf#feature-availability).

Before using TollBit with Fastly's Bot Management, you will need to [create a TollBit account and subdomain](https://tollbit.com/), which will serve as the gateway for AI bots and agents. You'll also need to configure monetization rules to set up pricing and access rules for different AI companies. To learn more, refer to the [TollBit documentation](https://docs.tollbit.com/publisher-marketplace).

### Using TollBit with Fastly's Bot Management

Follow these steps to set up Fastly's Bot Management with TollBit:

<!-- TabbedPanels component: 
<Panel id="next-gen-waf-control-panel">

1. <Partial name='step-ngwaf-login' inline />
1. <Partial name='step-ngwaf-select-site' inline />
1. From the **Rules** menu, select **Site Rules**.
1. Click **Add site rule**.
1. In the **Type** section, select **Request**.
1. Fill out the fields in the **Conditions** section as follows:
   * From the **Field** menu, select **Signal**.
   * From the nested **Field** menu, select **Signal Type**.
   * From the nested **Operator** menu, select **Is in list**.
   * From the nested **Value** menu, select **AI Bot Signals (signal)**.

     > **TIP:** For more control, you can use the `SUSPECTED-BOT.AI-CRAWLER`, `SUSPECTED-BOT.AI-FETCHER`, `VERIFIED-BOT.AI-CRAWLER`, and `VERIFIED-BOT.AI-FETCHER` individual signals. You can also specify individual bots by selecting **Signal payload** and entering the name of the bot that you find in the Requests view (e.g., `GPTBot`).

1. From the **Action type** menu, select **Block**.
1. Click **Change response**.
1. Set the **Response code** to **302**.
1. In the **Redirect URL** field, enter your TollBit subdomain and append the dynamic `{{URL}}` variable (e.g., `https://tollbit.example.com{{URL}}`). The variable ensures that the original requested URL is passed in the redirect.
1. Click **Create site rule**.

</Panel>
<Panel id="fastly-control-panel">

1. <Partial name='step-login' inline />
1. <Partial name='step-ngwaf-click-rules' inline />
1. <Partial name='step-ngwaf-select-workspace' inline />
1. Click **Add workspace rule**.
1. In the **Type** section, select **Request**.
1. Fill out the fields in the **Conditions** section as follows:
   * From the **Field** menu, select **Signal**.
   * From the nested **Field** menu, select **Signal ID**.
   * From the nested **Operator** menu, select **Is in list**.
   * From the nested **Value** menu, select **AI Bot Signals**.

   > **TIP:** For more control, you can use the individual signals `SUSPECTED-BOT.AI-CRAWLER`, `SUSPECTED-BOT.AI-FETCHER`, `VERIFIED-BOT.AI-CRAWLER`, and `VERIFIED-BOT.AI-FETCHER`. You can also specify individual bots by selecting **Parameter Value** and entering the name of the bot that you find in the Requests view (e.g., `GPTBot`).

1. From the **Type** menu in the **Actions** section, select **Block**.
1. Click **Change response code**.
1. Set the **Response code** to **302**.
1. In the **Redirect URL** field, enter your TollBit subdomain and append the dynamic `{{URL}}` variable (e.g., `https://tollbit.example.com{{URL}}`). The variable ensures that the original requested URL is passed in the redirect.
1. Click **Create workspace rule**.

</Panel>
 -->

When an AI bot visits your site, Fastly will detect the bot and redirect it to your TollBit Bot Paywall. AI companies with valid tokens will receive content access. Others will be redirected to pay for access.
