Skip to content
Cloudflare AI discovery

How to use Cloudflare to check what AI can find on your website

Set up Cloudflare’s AI discovery tools, see what a browser and an AI agent get from the same page, and test what your site search returns.

Published · 10 minute read

Cloudflare’s Search for Agents gave me ten results when I asked whether we provide a fractional CIO for Australian businesses. Nine repeated the same callout from our articles, and the page where we explain the service was missing altogether. When I asked what’s included in our AI Implementation Partnership, the same tool put the partnership page first and found the passage that answers the question.

If you’re setting this up on your own website, I’d start with a question someone asks before they get in touch and see whether the page that comes back would help them. Search for Agents gives assistants that support it a way to search across your site for relevant passages, while Markdown for Agents lets them request a plain-text version of an individual page, with its headings and links. Cloudflare’s Search for Agents guide, Markdown for Agents

One URL, two ways to read it

innovatexsolutions.com.au
Human in a browser Opens the homepage
AI agent Accept: text/markdown
Marketing website text/html
InnovateX Solutions homepage with navigation, a glass illustration and the heading Who owns your technology and AI decisions?
Markdown excerpt text/markdown
# Who owns your technology and AI decisions?

In a lot of growing Australian businesses, nobody does. The CEO makes the calls between meetings and the vendors fill the gaps.
This is what our live homepage looks like in a browser and what Cloudflare sends back when an agent requests it as Markdown.

Why I’d start with Cloudflare

Cloudflare can manage your domain records and serve your site over HTTPS, while helping your pages load faster and protecting the site against denial-of-service attacks. What I like about this addition is that you can open the same dashboard you already use to look after the website and see what an AI agent can read. Cloudflare plans and features

At Open Summit AI in Brisbane, Norg AI founder Jack Bear spoke about how an agent turns a customer’s question into a brief. If a facilities manager is looking for someone to fix their commercial air conditioning, they’ll want to know whether you cover their suburb, service their equipment brand and take after-hours calls. An assistant can look up those details if you put them on the service page. Jack Bear’s Open Summit AI session

For a site already on Cloudflare, I’d try the included usage before paying for a separate service. Search for Agents is in beta on all plans, and eligible plans such as Pro include Markdown for Agents at no extra charge. AI Search has monthly allowances, with billing due to start on 1 December 2026, so check how much you can crawl and query on your plan. Cloudflare AI Search pricing, Markdown plan eligibility

Norg’s Starter plan is A$95 a month excluding GST for one page, with the A$200 setup fee waived on a 12-month contract. That pays for Norg to prepare a version of the page for agents, keep it updated on a schedule and show which crawlers have visited. If you want someone to maintain more pages or want to see which AI services cite you, check what’s included in each plan. Norg’s pricing

Google uses its own index for AI Overviews and AI Mode, so it still needs to find and index your pages before it can show them in those features. That’s where the basics of search engine optimisation (SEO), such as a sitemap and links between pages, come in. In Search Console, you can see how your site is set to appear in those features under Settings → Search generative AI. Google’s guide to AI search, Google’s Search generative AI settings

Answer engine optimisation (AEO) is about what an assistant finds when it gets to the page. In the air-conditioning example, a clear line about where you work and when you take calls gives it something specific to quote. For generative engine optimisation (GEO), take the questions to the assistants your customers use and see whether you come up, what the answers say and which pages they link to.

1. Run Cloudflare’s Diagnostics on your website

  1. Sign in to Cloudflare, select your domain and run Agent Readiness → Diagnostics on the address your customers use, such as www.example.com. If Cloudflare manages your DNS, check under DNS → Records that the website record is marked Proxied. Cloudflare’s guide to proxy status
  2. In Quick Wins, expand the items marked incomplete so you can see what Cloudflare found before you change anything.
  3. Follow the Sitemap: link in your live /robots.txt and look for the service and product pages you want people to find. If one is missing, ask your developer to check how the sitemap is generated and whether the rest of the website links to the page.
  4. Check those same pages in Google Search Console. URL Inspection tells you whether Google has indexed the page and which URL it chose, while Test live URL checks whether Google can fetch the page now. Cloudflare Diagnostics, Google’s sitemap guide, Google’s URL Inspection guide

Cloudflare Diagnostics shows four of five Quick Wins complete, with Content Signals marked incomplete.

When Diagnostics flagged Content Signals on our site, we checked the headers the site was sending and compared them with the rules in robots.txt.

2. Decide whether to let AI companies train on your pages

A magnifying glass rests on a blue glass document beside a closed archive drawer.

I want an assistant to be able to look up what we do and cite the public page a customer can read. I’d make a separate decision about whether AI companies can use our articles and frameworks to train future models. If you publish material for future models to learn from, you can allow training in Cloudflare.

  1. In the Cloudflare dashboard, go to Security → Settings, filter by Bot traffic and open AI Crawler and Agent access policies.
  2. If you want people to find your public site through search, start with Search → Allow (do not block) and leave Agent allowed if you want assistants to fetch a public page on someone’s behalf.
  3. To decline training, select Training → Disallow, turn on Bot Preference Sync and save. Cloudflare adds instructions to robots.txt and blocks the training crawlers that setting covers before they reach your site. Crawlers that combine search and training are exempt under Disallow, so check which ones you rely on before choosing the broader Block setting. Cloudflare’s crawler settings, Bot Preference Sync
  4. Open the live robots.txt again to see which crawlers it allows or disallows. Cloudflare says Bot Preference Sync adds no instructions when every policy is set to Allow. OpenAI has separate controls for OAI-SearchBot and GPTBot, and Anthropic also separates its search and training crawlers. Google’s Google-Extended setting covers training and some uses outside Search, so read what it covers before changing it. Customer portals and private material belong behind a sign-in. Bot Preference Sync, OpenAI crawler controls, Anthropic crawler controls, Google’s generative AI controls

If you allow training and have the same content at more than one URL, Redirects for AI Training under AI Crawl Control → Quick Actions lets you send verified training crawlers to the version you prefer. Cloudflare reads that address from the page’s canonical tag and redirects the crawler to it on the same site. Cloudflare’s guide to training redirects

3. Turn on Markdown for Agents and test a page

  1. In Agent Readiness → Markdown for Agents, turn on Serve Markdown to AI agents. If you’d like to try it on your blog before opening it up across the site, ask your developer to set up a Cloudflare Configuration Rule for that path. Cloudflare’s setup guide

    Markdown for Agents switched on in the Cloudflare overview.
    The blue switch in our Cloudflare overview shows that the site can serve Markdown when an agent requests it.
  2. Replace the example address in the command below with a service page from your site, then try it again with an article. The Content-Type header should say text/markdown, and the text underneath should still include the details a customer would need.

    curl -sS -D - -H 'Accept: text/markdown' \
      'https://www.example.com/services/commercial-air-conditioning/'
    

    Compare the HTML and Markdown from our homepage.

  3. When I tried this on our site, the HTML response had no Content-Signal header and the Markdown response said ai-train=yes, which Cloudflare documents as the default when your server supplies no policy header. If you want to allow search and use in answers while declining training, ask your developer to set the header below, then request the page again and check that the policy agrees with your live robots.txt. Cloudflare’s Markdown response headers, InnovateX Solutions robots.txt

    Content-Signal: search=yes, ai-input=yes, ai-train=no
    

4. Turn on Search for Agents and ask a real question

  1. In the dashboard for your domain, you’ll find Search for Agents under Overview → Quick Actions. Before you confirm, check how much content Cloudflare lets you crawl and store, and how many queries your plan covers. Cloudflare’s setup guide

    The Search for Agents switch is on in Cloudflare Quick Actions.
    Our dashboard showed Indexing while Cloudflare went through the site for the first time.
  2. Open Manage Search for Agents instance and check the hostname Cloudflare will index. It follows links as well as the sitemap, so use a path filter if you have public pages you want left out of this index. If you declare Content Signals in robots.txt, allow search and ai-input for Cloudflare’s crawler. Search for Agents setup, Discovery crawl settings

  3. When I tried a question during indexing, Cloudflare returned 503 and asked me to try again later. After the index was ready, the same question returned 200 with results. Use the hostname Cloudflare lists for your site in the command below and replace the sample question with something a customer would ask you.

    curl -sS -i --get 'https://example.com/.well-known/search' \
      --data-urlencode 'q=Do you service commercial air conditioning after hours?'
    

5. Check the pages and passages Search for Agents returns

A blue-edged card stands above several stacks of pale index cards.

When the command in step 4 returns 200, look below the headers for the links and passages Cloudflare found. I’d start by checking that the page I expected is among those links, then read the passage Cloudflare picked from it to see whether it answers the question. Cloudflare’s example search request

When I ran the searches again, “fractional CIO” brought up our fractional CIO and CTO page in second place. With the full question, “Do you provide a fractional CIO for Australian businesses?”, Cloudflare gave me our Chief AI Officer page first and put the CIO page ninth. I’d have come away with a much better impression of the results if I’d stopped at the shorter phrase.

The repeated callout came from a box we used across several articles. We marked the box and the author bio as footers in the template, then asked Cloudflare for the same post in both formats. The browser still displayed the callout and bio, and the Markdown kept the article text and left them out.

If the service page is missing from the results, go back to Manage Search for Agents instance, open Items and look for its URL. If you find it there, compare what the page says with the passages the search returned. When several results repeat the same sales pitch, ask your developer to check the template they share and try a content selector so Cloudflare indexes the part of the page with the information customers need. After the next crawl, ask the same question to see what changed. Cloudflare’s Items documentation, Cloudflare’s guide to content selectors

I’d also put those questions to the assistants your customers use without giving them your URL, then save the sources they cite so you can check again later. Use AI Crawl Control to see which requests Cloudflare blocked and, if you have it, Search Console’s Generative AI performance report to see your visibility in Google. I’d look for visits from AI services in the referral report and review enquiries separately, taking note of how people say they found you. Cloudflare AI Crawl Control, Google’s Generative AI performance report

Todd Johnson

Written by Todd Johnson

Founder of InnovateX Solutions. Todd provides fractional CIO, CTO and Chief AI Officer leadership for Australian businesses and government, and wrote the XAF Connected Architecture framework.

Todd on LinkedIn