# Cloudflare

## Connection Requirements

{% stepper %}
{% step %}

### API Token

Port number (optional, default: 443).

To create a API Token:

* Sign in to the Cloudflare dashboard.
* Go to My Profile → API Tokens → Create Token (for user-owned tokens).
* Choose a template (e.g., Edit zone DNS) or pick Create Custom Token.
* Set permissions (least privilege) and select resources (specific zone(s) or account).
* Review (Continue to summary) and Create Token. Copy the token—Cloudflare shows it only once.
  {% endstep %}

{% step %}

### Fetch All Status Certificates

Fetch certificates of all types of statuses.
{% endstep %}

{% step %}

### Thread Count?

Amount of parallel threads to open.
{% endstep %}

{% step %}

### Https Proxy

Https Proxy url. (optional)
{% endstep %}

{% step %}

### Sleep

Amount of time to wait between requests.
{% endstep %}

{% step %}

### Timeout

Amount of time to wait for responses.
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
⚠️ **Attention**\
Please perform a **connection test** to ensure there is a valid connection to the host.\
When the discovery operation is finalized, you will be able to see the details on the **Assets** page.
{% endhint %}


---

# 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.octoxlabs.com/adapters/adapters/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.
