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

# Cloudflare WAF

Cloudflare WAF integrations allows you to actively block attacker IP by using Cloudflare WAF infrastructure.

### Authentication

Cloudflare WAF connector support authentication via Account API Token or User API Token

#### Account API Token

To create the Account API Token, go to the **Manage Accounts** > **Account API Tokens**, click on "Create Token". On the next screen, select the "Create Custom Token" option.

Name the token and select the permission:

* Account | Rule Rulesets | Edit

![Account API Token](/files/nxJAbamtmsBM9pWeDHcW)

#### User API Token

To create the User API Token, go to the **Profile** > **API Tokens**, click on "Create Token". On the next screen, select the "Create Custom Token" option.

Name the token and select the permission:

* Account | Rule Rulesets | Edit

![User API Token](/files/2g06cxnlYSY9asLY8r26) In the Cloudflare connector authentication window, use your API Token to log in.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.appmixer.com/connector-configuration/cloudflarewaf.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.
