Cloudflare Turnstile embeds a CAPTCHA in your page to help prevent spam. Turnstile requires additional configuration in your Site and Inbox Settings.
Adding Turnstile to an inbox#
- In your Org Settings, under Hosting > Forms either create a new inbox or select manage on an existing inbox
- Select Turnstile as your captcha provider.
- Sign into Cloudflare and follow this guide to get your Turnstile captcha keys.
- In CloudCannon, enter your secret as your captcha secret key, and your site key as your captcha site key.
Adding Turnstile to your site#
- Connect your site to your Turnstile enabled inbox in your Site Settings, under Hosting > Forms.
- Ensure that you have selected Require Captcha in your site inbox settings.
- Add a form to your site and connect it to your inbox by following the install instructions in your site inbox settings.
- Add Turnstile to that form by following the instructions in the Turnstile documentation
Once configured, any form submissions that fails to validate will return a 401 error page.