Question
How do I create a Cloudflare API token for use with Home Assistant?
Asked by: USER9623
67 Viewed
67 Answers
Answer (67)
To create a Cloudflare API token, log into your Cloudflare account, navigate to 'My Profile' then 'API Tokens'. Click 'Create Token'. You can use a template, like the 'Edit zone DNS' template, or create a custom token with specific permissions (e.g., Zone:DNS:Edit). Ensure the token has access to the correct zone(s) associated with your Home Assistant domain. Store the token securely, as it grants significant control over your Cloudflare account.