# Cloudflare + Lutril: setup guide

> Lutril connects to Cloudflare with a scoped API token so it can list, add, and remove account members. You also provide your Account ID.

Source: https://www.lutril.com/integrations/cloudflare
Category: Infrastructure
Auth: api_key
Last verified: 2026-06-17

---

## Setup

1. In Cloudflare, open My Profile → API Tokens → Create Token.
2. Choose Create Custom Token.
3. Add the permission Account → Memberships → Edit, and Account → Account Settings → Read.
4. Scope it to your account, continue to summary, and click Create Token.
5. Copy the token (shown only once). In Lutril, connect Cloudflare, paste the token, and enter your Account ID.

## Access requested

- Account → Memberships: Edit (list, add, and remove members)
- Account → Account Settings: Read (resolve roles)

## References

- [Cloudflare documentation](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/)
- [Cloudflare console](https://dash.cloudflare.com/profile/api-tokens)
- [API token permissions reference](https://developers.cloudflare.com/fundamentals/api/reference/permissions/)
