> For the complete documentation index, see [llms.txt](https://docs.imber.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imber.dev/cloudflare.md).

# Cloudflare

1\. **Log In to Cloudflare Dashboard**

{% embed url="<https://dash.cloudflare.com/>" %}

## 2. S**elect the Appropriate Domain**

* Navigate to the domain for which you want to set up the whitelist rule.

## **3. Access Firewall Rules**

* On the left-hand menu, click **Security**.
* Select **WAF** (Web Application Firewall).

<div align="left"><figure><img src="/files/HMTmKY8phteKuwcRiegz" alt=""><figcaption></figcaption></figure></div>

* Select **Custom Rules**

<figure><img src="/files/u7aHKYqhim3UZfK2NmcE" alt=""><figcaption></figcaption></figure>

## **4. Create a New Firewall Rule**

* Click on the **Create Rule** button.
* Provide a descriptive name, such as `Whitelist Requests Imber Bot`.

## 5. Define the Rule Criteria

* Use the following settings for the rule:
  * **Field**: `Header`
  * **Header Name**: `imber`
  * **Operator**: `equals`
  * **Value**: `SECRET GENERATED BY BOT`
* This ensures the rule matches only requests containing the specified hash in the `Imber` header.

<figure><img src="/files/YGGVS15mBmoJYEBXV7lU" alt=""><figcaption></figcaption></figure>

## 6. Set the Rule Action

* Choose **Skip** as the action for this rule. This will bypass other firewall restrictions for matching requests.

<figure><img src="/files/Ugdt0kMfM2kR1tAqRrOT" alt=""><figcaption></figcaption></figure>

## 7. Save and Deploy

* Click **Deploy** to activate the rule. The new firewall rule will take effect immediately.
