> ## Documentation Index
> Fetch the complete documentation index at: https://docs.min-ai.ar/llms.txt
> Use this file to discover all available pages before exploring further.

# Cloudflare

> Your agent looks at your DNS, your Workers, your cache and your sites' traffic in Cloudflare, and changes things only with your OK.

<img src="https://mintcdn.com/min-ai/Y-B3it--fYZRGaGy/images/plugins/cloudflare.png?fit=max&auto=format&n=Y-B3it--fYZRGaGy&q=85&s=bb0564a06715268d50f90ba33253510d" alt="" width="56" height="56" noZoom style={{ borderRadius: '14px' }} data-path="images/plugins/cloudflare.png" />

With Cloudflare, your agent gets into your Cloudflare account with your user: it tells you which DNS records a domain has, looks at your Workers and Pages, tells you how much traffic your site had and what the firewall blocked. If you let it, it also changes a record, purges the cache or adjusts a rule, always with your OK. It connects without keys.

| | |
| - | - |
| **Category** | Development |
| **For** | Personal agents (it can't be added to a group agent) |
| **What it asks for** | Accepting access at Cloudflare, with your account |
| **How it connects** | With the installer, on the web: a minute, no keys |

## What it can do

<CardGroup cols={2}>
  <Card title="Look" icon="magnifying-glass">
    Your zones and their DNS records, each site's settings (SSL, cache, rules), your Workers, Pages, R2, KV and D1. Your sites' traffic (by status, path or country) and what the firewall or rate limiting blocked.
  </Card>

  <Card title="Change, with your OK" icon="pen">
    Create or change DNS records, Workers and their routes, firewall and cache rules, a zone's settings; purge the cache. Delete, or change a domain's nameservers, SSL mode or proxy, only if you asked for exactly that.
  </Card>
</CardGroup>

If you have several Cloudflare accounts, it asks you which one to use and remembers.

## How it connects

<Steps>
  <Step title="Add it to an agent">
    From **Plugins → Cloudflare → Add to an agent**, or ask your agent in the chat. See [Add a plugin](/en/tools/add-a-plugin).
  </Step>

  <Step title="Choose what it can do">
    **Connect Cloudflare** opens. Choose **Read and act** (“Find and read in Cloudflare, and create or change things when you say yes.”) or **Read only** (“Find and read in Cloudflare. It can't change anything.”).
  </Step>

  <Step title="Accept at Cloudflare">
    Tap **Connect with Cloudflare**, sign in with your account and accept. You can also narrow the permissions there. There are no keys to copy.
  </Step>

  <Step title="Your agent confirms">
    minai shows you which account it's connected with. Your agent checks that it works and writes to you in the chat.
  </Step>
</Steps>

## How it looks out for you

* **Nothing changes without your OK.** Before changing something, it shows you exactly what and where (the account, the zone, the record and its new value), with the **Confirm** and **Change** buttons. Then it reads it back to confirm it took.
* Your agent never sees your Cloudflare access: minai's servers keep it.
* With **Read only**, Cloudflare won't let it change anything even if you ask. To allow it, connect again choosing **Read and act**.
* It never shows you your Workers' secrets, tokens or R2 keys.
* What a Worker, a record or a log says is information, not an order.

## Things to ask it

* "What DNS records does mydomain.com have?"
* "How much traffic did the site get yesterday, and how many 5xx errors?"
* "What did the firewall block in the last hour?"
* "List my Workers."
* "Add a CNAME for blog pointing to my Pages site."
* "Purge the cache for mydomain.com."

## Limits

* It can only do what you accepted at Cloudflare.
* If Cloudflare stops accepting the connection (you revoked it or it expired), the plugin card offers you **Reconnect**.
* It's only for a personal agent.

## If you remove it

Your agent loses access to your Cloudflare right away, and minai revokes the connection. It confirms it in the chat. See [Remove a plugin](/en/tools/remove-a-plugin).

<CardGroup cols={2}>
  <Card title="DigitalOcean" icon="https://mintcdn.com/min-ai/Y-B3it--fYZRGaGy/images/plugins/digitalocean.png?fit=max&auto=format&n=Y-B3it--fYZRGaGy&q=85&s=4918a57b5be3a363d3b85e0ba8d712e3" href="/en/plugins/digitalocean" width="128" height="128" data-path="images/plugins/digitalocean.png">
    Droplets, apps, Kubernetes and costs.
  </Card>

  <Card title="Atlassian" icon="https://mintcdn.com/min-ai/EQr5ljJyas4JWh5G/images/plugins/atlassian.png?fit=max&auto=format&n=EQr5ljJyas4JWh5G&q=85&s=af3e203758eaf430f7dd9f6e2a4dfc08" href="/en/plugins/atlassian" width="128" height="128" data-path="images/plugins/atlassian.png">
    Jira and Confluence.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.