[Documentation](https://fluxnative.app/docs) / Connect services

# Cloudflare

Save your account ID and an API token so the assistant can deploy Workers and use R2 and Queues.

![The Cloudflare form in Server: Account ID, API token and an optional workers.dev subdomain, and Save and test](https://fluxnative.app/guide-media/cloudflare.cc4ba2d7.webp)

The 32-character account ID and an API token made from the Edit Cloudflare Workers template.

**Note:** Cloudflare has no database and no sign-in here: the assistant's tools reach Workers, KV, R2 and Queues. For bookings, orders or accounts, connect Supabase or Firebase and use Cloudflare beside it.

## Steps

1. In Cloudflare's **Account home**, open the **⋯** menu on your account's row and choose **Copy account ID** (32 characters).
2. Under **My Profile** › **API Tokens**, click **Create Token** and start from **Edit Cloudflare Workers**.
3. For files or queues, add **Workers R2 Storage** and **Queues** with Edit access. Limit the token to this account.
4. Click **Server** › **Backend** › Cloudflare, paste both and save. Cloudflare shows the token only once.

Then ask the assistant to deploy a Worker, store files in R2 or use a queue.

## Good to know

- Need a public `workers.dev` hostname? Enter the workers subdomain label on the same form, such as `my-team`.
- The Workers free plan covers 100,000 requests a day. R2 asks for a payment method, even within its free allowance.

## Related

[Supabase](https://fluxnative.app/docs/supabase) · [Firebase](https://fluxnative.app/docs/firebase)

Previous: [Appwrite](https://fluxnative.app/docs/appwrite) · Next: [Your store, site or API](https://fluxnative.app/docs/your-api)

---

Save your account ID and an API token so the assistant can deploy Workers and use R2 and Queues.

Page: https://fluxnative.app/docs/cloudflare
