Docs menu

Install and connect

Connect Cloudflare

Record verified AI bot requests at Cloudflare: what is added, what access is asked for, how it is checked.

On this page 7 sections

Connecting Cloudflare lets Lundot record HTML and crawler-file requests and label each bot claim verified or unverified. Skip this if the site is not served through Cloudflare.

Why Cloudflare is needed

AI crawlers run no tracking script, so only the network in front of your server sees them. Lundot checks each claim such as "I am GPTBot" against the company's published IPs, reverse DNS or a signature. See the verification method and how to verify AI crawlers. Without Cloudflare, the AI bots screen has no verified requests; everything else works.

What Lundot adds to your zone

One small Worker and a route, shown in Setup as your-domain/*.

The Worker:

  • passes every request on unchanged, then notes path, user agent and time for HTML pages, /robots.txt, /llms.txt, /llms-full.txt, sitemaps, .md files, /.well-known/ and requests for Markdown;
  • never reads or changes page content;
  • fails open: if it errors or reaches a limit, Cloudflare serves your site as usual.

Swipe sideways to see the whole diagram.

The Worker never holds up your site: it passes the request on first and fails open.
The diagram as a list
  1. A person or a bot requests a page on your site, through your Cloudflare zone.
  2. Lundot's Worker passes the request on, so your site is served as usual. If the Worker fails or reaches a limit, Cloudflare skips it.
  3. For HTML pages, robots.txt, llms.txt, sitemaps, .md files and /.well-known/ paths, the Worker records one observation: path, user agent and time. Images, scripts and styles are skipped.
  4. It sends the observation to Lundot's ingest in a signed request.
  5. Ingest checks the signature, the site, the time, the size and the rate, and refuses the observation with 401, 403, 413 or 429 if one fails.
  6. Requests that cannot be a bot have their IP address and user agent replaced by a daily hash. Accepted observations go to a queue in the EU, where failed messages are retried, then kept apart.
  7. Each bot request is matched to the bot it names and checked by IP list, reverse DNS or signature. The stored IP address is cut to its /24 (or /48) network and duplicates are dropped.
  8. Once a day Lundot also fetches your home page to confirm the Worker still answers, and checks that an observation arrived in the last 24 hours.

Lundot never changes your DNS, touches other zones or takes over an existing route. On recorded HTML responses the Worker adds a request id to the Server-Timing header and sets cache headers so no shared cache stores the page.

What access it asks for

Four Cloudflare permissions, on your site's zone only:

Permission Why
Account: Workers Scripts: Edit Upload and remove the Worker
Zone: Workers Routes: Edit Add and remove the route
Zone: Zone: Read Read the zone and its hostnames
Account: Account Analytics: Read Import Web Analytics history

On sign-in, Account Analytics: Read is optional and selected. An account API token needs all four.

Workers Scripts: Edit cannot be limited to one Worker. Cloudflare grants it for every Worker in the account, so Lundot holds it, encrypted, only during an install or removal (at most 15 minutes), then revokes or deletes it.

The history import is the one exception. With Also import Cloudflare Web Analytics history ticked (the default), Lundot keeps the token, encrypted, until the import ends (about two minutes, up to ten for a busy site), for reading Web Analytics only. See Import Cloudflare history.

For an account API token:

  • Make it under Manage Account, Account API Tokens. Lundot refuses a user token from My Profile, API Tokens.
  • Set the TTL end date to tomorrow. If it expires during an import, the import stops; start again with a new token.
  • Under Zone Resources, choose Include, Specific zone and your site's zone. Lundot refuses a token that reaches other zones. Do not add Zone Settings: Lundot cannot tell it from Zone: Read.

Lundot checks the zone, hostnames and routes read-only and adds nothing until you approve.

Install

Sign in with Cloudflare

  1. In Setup, open the Cloudflare row. Leave Also import Cloudflare Web Analytics history ticked, or untick it.
  2. Choose Sign in with Cloudflare and allow the three Worker and zone permissions (Account Analytics: Read is optional).
  3. Back in the sheet, review and choose Install.

If you cancel or clear a Worker or zone permission, nothing is installed. Without Account Analytics: Read, no history is imported.

Use an account API token

Where sign-in is offered, choose Use an API token instead first.

  1. In Setup, open the Cloudflare row.
  2. Choose Open Cloudflare for the pre-filled token form. Choose your site's zone, set the TTL to end tomorrow, and create the token.
  3. Tick or untick Also import Cloudflare Web Analytics history, paste the token and choose Connect Cloudflare. If you know the account's Workers plan, open Advanced and choose Free or Paid (default Not sure).
  4. Lundot checks the token and zone and shows the routes it would add. If a check fails, fix it and choose Start again.
  5. Choose Install. The card reads "Waiting for first request" until one arrives: AI bots visit small sites every few hours or days.

If you do not run Cloudflare, Send to someone makes a link that opens only this step and gives no access to your data. Closing the sheet before Install drops the token.

The free Workers plan serves 100,000 Worker requests a day per account. Lundot stops if the free allowance would not cover your site.

The daily check

Once a day Lundot requests your home page and looks for the Worker's mark and for any recorded request in the last 24 hours. Both: healthy. One, or the page cannot be fetched: degraded. Neither: broken.

The Cloudflare row in Settings, Connections shows "Receiving data" (healthy), "Needs attention" (degraded) or "Stopped" (broken), with when it ran and what failed.

Remove it

In Settings, Connections, choose the site, then Remove on the Cloudflare row. You need a role that can change the site's tracking.

Lundot keeps no Cloudflare access, so removal asks again: choose Sign in with Cloudflare and remove, or Use an API token instead:

  1. Choose Open Cloudflare, choose the zone, set the TTL to end tomorrow, and create the token.
  2. Paste it and choose Remove collector. Lundot keeps it encrypted for this removal only, at most 15 minutes.

Lundot removes its routes first, so collection stops at once, then the Worker. Your own routes and recorded requests stay. The row then says "Removed", or "Removal not finished": choose Remove again. The audit log records the removal.

You can also delete the route and Worker in the Cloudflare dashboard. Remove the Worker before deleting the site: Lundot refuses to delete a site that still has one.

If your site is not behind Cloudflare

Setup says whether your home page is served through Cloudflare. Other CDNs and log files are not supported yet; the tracking script and Search Console still work. The AI crawler check needs no account. To read requests once they arrive, see the AI bots report.