Skip to main content
  1. npm create cloudflare@latest — put the handler in src/index.js.
  2. wrangler secret put TRUSTGUARD_API_KEY
  3. Route AI paths in wrangler.toml; zone WAF still runs first.
  4. wrangler deploy
Optional: push repeat offenders to a Cloudflare IP List and block in WAF before the Worker.