Tutorials

Last updated May 19, 2026 View tutorials to help you get started with Turnstile.

Name Last Updated Difficulty
Fraud detection with Ephemeral IDs 10 months ago Advanced
Protect your forms last year Beginner
Conditionally enforce Turnstile 2 years ago Intermediate
Exclude Turnstile from E2E tests 2 years ago Intermediate
Integrate Turnstile, WAF, & Bot Management 2 years ago Beginner

Was this helpful?

YesNo

On this page

Tutorials - 图1Docs

{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/turnstile/tutorials/#page","headline":"Tutorials","description":"Tutorials for integrating Turnstile with WAF, login pages, and testing.","url":"https://developers.cloudflare.com/turnstile/tutorials/","inLanguage":"en","image":"https://developers.cloudflare.com/turnstile/tutorials/og.png?v=ce5c4ce967021e0f","dateModified":"2026-05-19","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: This tutorial explains how to conditionally enforce Turnstile based on the incoming request, such as a pre-shared secret in a header or a specific IP address. title: Conditionally enforce Turnstile image: https://developers.cloudflare.com/turnstile/tutorials/conditionally-enforcing-turnstile/og.png?v=3404859b89a76109


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/turnstile/llms.txt
Use this file to discover all available pages before exploring further.