Edge Observers

Setup

Set Up Cloudflare For Stattery

Edge Observers run on Cloudflare, and Cloudflare’s Free plan is all you need. These eight steps take you from nothing to a site that’s on Cloudflare, has its Edge Observer running and bans bad bots on its own.

20 to 30 minutesCloudflare Free planAlready on Cloudflare? Start at Step 5
1

Make A Free Cloudflare Account

  1. Sign up at dash.cloudflare.com/sign-up with your email and a password.
  2. Confirm your email when Cloudflare asks.
2

Add Your Site

Cloudflare copies your DNS records, so your site and email keep working while you switch.

  1. Add a domain and type the plain one, like example.com (Cloudflare’s guide).
    Cloudflare's Connect your domain form with a box for the domain name and a Continue button
    Type your domain and click Continue.
  2. Choose the Free plan.
  3. Check the DNS records Cloudflare found. Your website records (usually the domain and www) should show an orange cloud, which means Cloudflare sits in front of them. Your email (MX) records should be there too.
  4. If anything is missing, add it from your current host’s DNS page before you go on.
3

Point Your Domain At Cloudflare

This is the step that actually moves your site. Nothing changes for visitors until you do it.

  1. Log in where you registered the domain (GoDaddy, Namecheap, your web host and so on).
  2. If DNSSEC is on there, turn it off first. You can turn it back on from Cloudflare later.
  3. Replace the nameservers with the two Cloudflare gives you.
  4. Wait for Cloudflare’s email saying the domain is Active. Often minutes, sometimes a few hours.
4

Make Sure HTTPS Works

One setting decides how Cloudflare talks to your server, and the wrong one breaks WordPress.

  1. Open your site in a browser. If it loads, you’re done with this step.
  2. If you get “too many redirects”, open SSL/TLS, Overview and choose Full (strict). If your host has no certificate of its own, choose Full.
  3. Never choose Flexible for a WordPress site that already uses HTTPS. That’s what causes the loop (why).
5

Turn On Cloudflare’s Bot Blocking

Two free switches that stop the obvious junk before Stattery even has to look at it.

  1. Open Security, Settings (pick your site if it asks) and filter by Bot traffic.
  2. Turn on Bot fight mode. Known bots get a puzzle that real browsers solve without anyone noticing.
  3. Under the AI bot settings, block Training crawlers if you don’t want your content training AI models. Leave Search alone if you want AI assistants to find and cite you.
One catch on the Free plan: Bot fight mode can’t make exceptions. If something your site depends on stops working afterward, such as a payment notification, an uptime monitor or an app that talks to your site, turn Bot fight mode back off. Stattery’s Auto-ban in Step 7 doesn’t have this problem, because it bans by what an address does, not what it is (details).
6

Install Your Edge ObserverTurns it on

Stattery installs it. You just make a key that can do two things and nothing else.

  1. In Stattery, open the Edge Observer card for your site.
  2. Click its button. Cloudflare’s token page opens with both permissions filled in: Account, Workers Scripts, Edit and Zone, Workers Routes, Edit.
  3. Pick your account, change All zones to your one site, create the token and copy it. Cloudflare shows it only once.
    Cloudflare's Create Token page with the name Stattery Edge Observer and the two permissions already filled in
    The token page, opened from the Edge Observer card.
  4. Paste the token into the Edge Observer card and save. Stattery uploads the observer, points your site at it and keeps it updated.
7

Turn On Stattery’s Auto-BanBlocks attackers

This bans attackers by itself, and the Edge Observer stops them at Cloudflare before they reach your server.

  1. Open Auto-ban in Stattery. It goes straight to your site’s Settings, Bots, with the switch highlighted.
  2. Turn on Auto-ban bad bots.
  3. On the Rules tab, turn on Ban bot swarms if you see it.
  4. Leave Network bad bot list on (also on Rules). It blocks addresses other Stattery sites already banned, and it follows Auto-ban unless you change it.

Anything on your own Allowed list is never banned on your site: your office, your uptime monitor, a partner’s tool. More about Stattery Shield.

8

Check That It’s Working

  1. Live starts showing bots by name, plus visitors whose browsers block scripts.
  2. Bots shows banned addresses and blocked requests within a day or so.
  3. Your site loads normally in a private browser window.
AI

Or Let Your AI Do The Cloudflare Part

Cloudflare runs its own MCP server, so an assistant like Claude can work in your Cloudflare account for you.

  1. Add Cloudflare’s server to your assistant’s connectors: https://mcp.cloudflare.com/mcp (instructions).
  2. Ask it something like: “Add example.com to my Cloudflare account on the Free plan, check its DNS records match my current host, tell me the nameservers to set, turn on Bot fight mode, and help me make an API token with Workers Scripts Edit and Workers Routes Edit for that site only.”
  3. Set the nameservers at your registrar if it can’t, then paste the token into Stattery (Step 6) and turn on Auto-ban (Step 7).

Read what the assistant proposes before you approve it, especially DNS changes.

$

Costs, Limits And Turning It Off

  • Cloudflare’s Free plan costs nothing. Its free Workers allowance covers 100,000 requests a day (limits); past that, visitors go straight to your site until midnight UTC. Workers Paid, $5 a month from Cloudflare, raises it to 10 million a month.
  • If an Edge Observer ever has a problem, Cloudflare sends visitors straight to your site.
  • The Edge Observer is $5 a month per site from Stattery, included from 5,000,000 tokens a month. See Pricing.
  • To stop it, click Remove the observer and delete the key on the Edge Observer card.

Questions?

Write to [email protected] and a person will help you set it up.