Reducing spam by adding Turnstile

Last modified: October 22nd, 2024

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#

  1. In your Org Settings, under Hosting > Forms either create a new inbox or select manage on an existing inbox
  2. Select Turnstile as your captcha provider.
  3. Sign into Cloudflare and follow this guide to get your Turnstile captcha keys.
  4. In CloudCannon, enter your secret as your captcha secret key, and your site key as your captcha site key.

Adding Turnstile to your site#

  1. Connect your site to your Turnstile enabled inbox in your Site Settings, under Hosting > Forms.
  2. Ensure that you have selected Require Captcha in your site inbox settings.
  3. Add a form to your site and connect it to your inbox by following the install instructions in your site inbox settings.
  4. 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.

Related Articles

Related links

Open in a new tab