# 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.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.imber.dev/cloudflare.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
