Cloudflare Turnstile setup
1. Create a Turnstile site in Cloudflare
Section titled “1. Create a Turnstile site in Cloudflare”- Log in to the Cloudflare dashboard and navigate to Turnstile.
- Click Add site, choose a widget type (Managed is recommended), and enter the domain calit is served from.
- Copy the Site Key and Secret Key shown after creation.
2. Set the environment variables
Section titled “2. Set the environment variables”TURNSTILE_ENABLED=trueTURNSTILE_SITE_KEY=your-site-keyTURNSTILE_SECRET_KEY=your-secret-keySetting TURNSTILE_ENABLED=true activates both the client-side widget on the booking form and server-side verification of the challenge token — one switch controls both.
3. What it protects
Section titled “3. What it protects”Turnstile challenges the public booking form on submission. It is layered with two additional abuse controls that are always active:
- A honeypot field to catch naive bots.
- A per-email daily cap (
PER_EMAIL_DAILY_CAP, default 10) that limits how many bookings a single email address can submit per day.