How to Connect Cloudflare Turnstile to Your We.Inc Website

Security & Performance
1 integration method

Cloudflare Turnstile

Cloudflare Turnstile checks that a form submission on your We.Inc site came from a person, without picture puzzles, using a widget plus a server check.

Use Case

Stopping form spam on a We.Inc site with Turnstile

Turnstile is Cloudflare's alternative to a CAPTCHA. A small widget on your form runs a challenge in the background and gives the browser a token. Your server then sends that token to Cloudflare's Siteverify API to confirm it is genuine before accepting the submission.

That second half matters. Cloudflare's docs say server-side validation is mandatory, and that the secret key must never appear in client-side code. Adding the widget alone does nothing to stop bots. On We.Inc, the check belongs in an edge function in the Cloud panel, with the secret key stored in Secrets.

In practice Turnstile suits forms you control end to end, such as a sign-up form in a web app or a form posting to your own edge function. If you rely on We.Inc's built-in contact form, it is a hosted service, so ask whether a Turnstile check can be attached before planning around it.

Two keys

A public sitekey loads the widget; a secret key, kept on the server, validates tokens.

Short-lived tokens

Each token expires after 300 seconds and can be validated only once.

Free plan limits

Cloudflare lists up to 20 widgets per account and 10 hostnames per widget on Free.

No domain move needed

Turnstile is created in the Cloudflare dashboard and does not require your site to use Cloudflare DNS.

Setup Guide

How to integrate Cloudflare Turnstile.

01

Widget plus edge function check

The complete setup Cloudflare's docs require.

Step-by-step guide

  1. 1

    In the Cloudflare dashboard, create a Turnstile widget and add your live hostname, for example your custom domain.

  2. 2

    Copy the sitekey and the secret key.

  3. 3

    In We.Inc, open the Cloud panel and save the secret key under Secrets.

  4. 4

    Ask the chat to add the Turnstile widget with your sitekey to the form you want to protect.

  5. 5

    Ask for an edge function that receives the form, sends the token to Cloudflare's Siteverify API and only saves or forwards the submission if it passes.

  6. 6

    Publish, submit the form on the live site, and confirm the submission arrives.

  7. 7

    Check Turnstile Analytics in Cloudflare shows validations rather than zeroes.

Mistakes that leave forms unprotected

The most common one is skipping the server check: the widget appears, but bots post straight to the form endpoint. Cloudflare notes that Turnstile Analytics shows zeroes for token validation when Siteverify is not being called, which is a quick way to spot it.

Others are putting the secret key in page code, where anyone can read it, and forgetting to add the published hostname to the widget, which makes the challenge fail on the live site.

Plans as of October 2026

Turnstile's Free plan includes all widget types, up to 20 widgets per account, 10 hostnames per widget, pre-clearance and 7 days of analytics. Enterprise raises the hostname and analytics limits and adds options such as removing Cloudflare branding.

Testing in the preview

The widget is tied to the hostnames you list in Cloudflare, so it may fail in the builder preview. Test on the published site, and add your we.inc address as a hostname as well if visitors use it.

Cloudflare Turnstile questions

Is pasting the Turnstile script enough?
No. The script only shows the widget and produces a token. Cloudflare says your server must verify each token with Siteverify, so you also need an edge function that checks the token before accepting the form.
Do my visitors have to solve puzzles?
Turnstile is Cloudflare's CAPTCHA alternative and is built to avoid image puzzles. The widget's Mode setting in the Cloudflare dashboard controls how visible the check is, and the Free plan includes every widget type, so you can pick the one that suits your form.
Why did a valid submission get rejected?
Tokens expire after five minutes and can be used once. If someone leaves the form open for a long time, or the form is resubmitted, the token fails. Ask the chat to refresh the widget when a token expires.
Does my domain need to be on Cloudflare?
No. You add the hostname to the widget's settings in the Cloudflare dashboard. Your domain can stay connected to We.Inc with its CNAME record as before.

Sources

Checked October 17, 2026.

Related

More Security & Performance integrations.

View all integrations

Ready to integrate Cloudflare Turnstile?

Start building your website with We.Inc and connect Cloudflare Turnstile in minutes.

Start Building Free to build · no card needed · Get help with setup

More in Integrations

Product

Who It's For

Features

Resources

Company

View Sitemap