# Cloudflare

The Cloudflare integration connects your Cloudflare environment to Sola, making it easy to search and find answers to your specific use cases.

{% embed url="<https://youtu.be/bZU_qJXRU8Q?si=Trd2ryucQQCSAkDU>" %}

## Overview <a href="#overview" id="overview"></a>

The Cloudflare integration provides visibility into accounts, services, and configurations for monitoring security posture, allowing you to monitor and analyze access controls, account settings, traffic management, policy enforcement, and audit logs.

With Cloudflare integration you can:

* Gain visibility into access policies and account configurations.
* Monitor and analyze DNS, load balancing, and traffic management.
* Review page rules, workers, and zones for compliance with best practices.
* Track user activity and audit logs across your Cloudflare environment.

{% hint style="warning" %}
**Your data can only be retrieved, never modified.**

Once connected, your data is securely stored, and access is restricted to retrieving configurations and metadata only. Authentication methods ensure secure delegation of permissions while maintaining data integrity.
{% endhint %}

## Set up Cloudflare data source integration with Sola <a href="#set-up-lovable-app-scanner-data-source-integration-with-sola" id="set-up-lovable-app-scanner-data-source-integration-with-sola"></a>

{% columns %}
{% column width="66.66666666666666%" %}
Go to ***Integrations*** > [***Data Sources***](https://app.sola.security/integrations/data-sources) > click ***New data source*** > select ***Cloudflare***.

*The Sola wizard will take you through the steps.*
{% endcolumn %}

{% column width="33.33333333333334%" %} <a href="https://app.sola.security/integrations/data-sources?integration=cloudflare" class="button primary">Set up Cloudflare -></a>
{% endcolumn %}
{% endcolumns %}

### Connect Cloudflare to Sola <a href="#add-lovable-app-public-urls" id="add-lovable-app-public-urls"></a>

To connect Cloudflare, you’ll need a Cloudflare user with an administrator role.

{% tabs %}
{% tab title="API Token" %}
This method uses an [API token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/) to securely grant Sola read-only access to your Cloudflare services and resources.
{% endtab %}
{% endtabs %}


---

# 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.sola.security/integrations/data-sources/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.
