Create a host, for example mywebsite.com, for a site in your Cloudflare account.
Link the template to the host.
Configuration → Host → Create a host
Host Name: put your host name Templates: Cloudflare by HTTP Groups: Cloudflare
Customize the values of {$CLOUDFLARE.API.TOKEN}, {$CLOUDFLARE.ZONE_ID} macros.
For {$CLOUDFLARE.API.TOKEN} go to your Cloudflare account → Websites → select your website → API → Get your API token → to the new page click to create token → Click the template you want (Read all resources) → go down to the page and click continue to summary → click to create token → copy the token → go to your Zabbix and edit the macros of your host → Inherited and host macros → find the right Macro click to change and paste the token.
For {$CLOUDFLARE.ZONE_ID}: Go to your Cloudflare account → Websites → select your website → API → copy the Zone ID → Go to your Zabbix edit the macros of your host → Inherited and host macros → find the right Macro click to change and paste the Zone ID