Flarite Docs

Cloudflare Integration

Manage DNS, Workers, Pages, WAF, KV, R2, and Radar analytics — all with natural language.

What you can do

  • DNS Management — List, search, and manage DNS records across all your zones.
  • Workers & Pages — Inspect scripts, bindings, usage, and deployment status.
  • Security — View and create WAF firewall rules in plain English.
  • Storage — Browse KV namespaces, D1 databases, R2 buckets, and Queues.
  • Intelligence — Query Cloudflare Radar for ASN info, traffic trends, and URL scans.
  • Audit & Team — Monitor account activity and manage organization members.

Getting your Cloudflare API Token

Cloudflare uses scoped API tokens — not your global API key. This is safer because you can limit exactly what Flarite is allowed to do.

  1. Go to dash.cloudflare.com → My Profile → API Tokens.
  2. Click "Create Token".
  3. Choose "Edit zone DNS" as a starting template, or use "Create Custom Token" for fine-grained control.
  4. Select the permissions Flarite needs. At minimum for read-only:
    Account — Read
    Zone — Read
    Zone — DNS Read
  5. For full functionality (recommended for power users):
    Account — Read
    Workers Scripts — Edit
    Zone — Edit
    Zone — DNS Edit
    Zone Settings — Edit
    Firewall Services — Edit
  1. Set the Zone Resources scope (all zones, or specific ones).
  2. Click "Continue to summary""Create Token".
  3. Copy the token and paste it into Flarite's API Tokens panel.
⚠️
ImportantThe token is only shown once by Cloudflare. Copy it before closing the page, then paste it into Flarite immediately.

Example prompts

"List all zones in my Cloudflare account"
            
"Add an A record for staging.mysite.com pointing to 192.168.1.10"

"Show me all Workers that haven't been updated in 30 days"

"Which zones have WAF disabled?"

"Delete the CNAME record old-api.example.com"

"What's the internet traffic trend for AS13335 this week?"

Supported tools

Flarite exposes 30+ Cloudflare tools including: list_zones, list_dns_records, add_dns_record, update_dns_record, delete_dns_record, list_workers, get_worker_detail, list_pages_projects, list_kv_namespaces, list_d1_databases, list_r2_buckets, radar_asn_info, radar_internet_traffic, radar_url_scanner, and more.