A customer asks ChatGPT for a product like yours, and ChatGPT either names your shop or it does not. The difference is usually technical, not a matter of luck. OpenAI runs three separate agents, and they do different jobs. One crawls for search. One collects content that may train future models. One fetches a page because a person asked for it. This guide walks through the technical checklist for ChatGPT, in the order a small team would actually do it, so you can see which agent is reaching your site and which one is being stopped.
Platform screens change. If a menu name here does not match what you see, check the vendor docs linked in Sources for the current path.
Most of this work is not writing. It is checking. You check a file, you check a firewall rule, you check a page as raw text, and you check a log. The writing only happens when a check finds something wrong.
What this guide covers
This guide covers the full job in order. First, you decide what you want OpenAI to do with your content for training, and you write that decision down. Second, you open your robots file and name each OpenAI agent on its own line. Third, you check the firewall and the published IP ranges, so the search crawler is not challenged at the edge. Fourth, you check the product facts on your pages, in words and in code, and in the raw text a crawler reads. Fifth, you check the sitemap and the llms file, and you ask ChatGPT the customer questions, wait a day, and ask again.
OpenAI publishes no formula for what ChatGPT recommends, and this guide does not invent one. It covers only the technical ground your business controls.
Who does each step
Marketer work is deciding the training question, writing the product facts in plain words, and asking ChatGPT the customer questions and recording what it says. Developer work is editing robots.txt, checking the firewall and the IP ranges, putting the product facts into structured data, and fetching a page as raw text to confirm the facts are there before any JavaScript runs. If you are both people, decide the training question first, then change the file. A team that never decides will keep changing the file.
Step 1: decide the training question, and write it down
Before you touch a file, agree on one sentence: do you want your content used to train future OpenAI models, or not. Blocking GPTBot signals that your content should not be used for training. Allowing it does not. There is no right answer for every business, and the answer is a business decision, not a technical default. Write it down, because the robots file below has a separate line for it, and a team that never decided will keep changing the file.
Do not confuse this decision with search. OpenAI treats the two settings as separate, and says so in its own docs. Blocking the training crawler does not block search. Allowing it does not buy search visibility. If you change the training line to fix a search problem, you have changed the wrong line.
Step 2: name each OpenAI agent in robots.txt, on its own line
Open the robots.txt file at the root of your site. It is a plain text file, and you can open it in a browser at your domain followed by /robots.txt. If nothing loads, create the file at the root. Then add a group for OAI-SearchBot, the crawler that surfaces websites in ChatGPT search answers, and allow it. OpenAI recommends allowing it, and says sites that opt out of it will not be shown in ChatGPT search answers, though they can still appear as navigational links.
Then add a group for GPTBot, the crawler that collects content that may be used to train future models, and set it to match the decision from step one. Disallow tells OpenAI the content should stay out of training. Allow means it may be. Do not hide either agent inside a wildcard group and hope the wildcard carries it. Name each token. If the file already has a group for either agent that says the opposite, change that group. Never add a second group for the same token while the old one is still there.
Leave ChatGPT-User out of the file. OpenAI says ChatGPT-User fetches a page when a person asks ChatGPT a question that needs it, that it is not used for automatic crawling, and that robots.txt rules may not apply to it, because the visit was initiated by a user. It also plays no part in deciding whether your content shows up in search. That rule does not decide whether your shop shows up in search. Use OAI-SearchBot for that.
Step 3: check the firewall, and verify by IP, not by user agent alone
A robots file that allows a crawler means nothing if the firewall challenges it. OpenAI asks site owners to allow OAI-SearchBot in robots.txt and to let through requests from its published IP ranges. The ranges live at the searchbot.json address in Sources, with separate lists for GPTBot and ChatGPT-User. Check your firewall and your CDN rules, and confirm requests from those ranges are not challenged.
Then check your server logs for requests that present themselves as OAI-SearchBot. Anyone can fake a user agent string, so a token in a log on its own is not proof the visit came from OpenAI. Match the source IP to the published ranges. A run of genuine OAI-SearchBot visits returning 200 on your key pages is the evidence that matters. A run of 403s or challenge pages is the fix list, and the fix lives at the edge, not in the file.
Step 4: make the product facts true, in words, in code, and in raw text
Write the product facts once, in plain words: the name, the price, whether it is in stock, what shipping costs and how long it takes, and what happens if the customer returns it. Then put the same facts in the structured data on the page, so the price, the availability, and the shipping details match the visible text. Then fetch the raw text of a product page, with curl or view source, and confirm the price and the stock state are in it before any JavaScript runs. If they are not, the page needs the facts served as plain HTML, not loaded in the browser. A page that looks right in a browser and wrong in raw text is a page ChatGPT cannot read.
If the page copy says one price and the structured data says another, or the page says in stock and the checkout says gone, fix the routine that made them disagree, not just the one page. A price change should run through one record that updates the page, the structured data, and the feed in the same pass. A single mismatch is a mistake. A pattern of mismatches is a broken routine.
Step 5: check the sitemap and the llms file, ask the questions, and wait a day
Confirm the sitemap lists your product pages, your category pages, and your guides at their real addresses, and that robots.txt points at the sitemap. Confirm the llms file lists the pages that matter most, with a short note each. The llms file is a short index of links, and the proposal at llmstxt.org defines llms.txt only. It does not define llms-full.txt.
Then ask ChatGPT the questions a customer would ask about your products, and note whether your business appears and which pages it cites. OpenAI says it can take about 24 hours from a robots.txt update for its systems to adjust, so a retest the same afternoon is not a verdict. Wait a day, ask again, and fix the gap the comparison shows. If ChatGPT cites a competitor, compare the two sites: is the competitor open to OAI-SearchBot, are its product facts in the raw text, and are its pages in the sitemap. Fix the gap that the comparison shows.
Machine-readable version you can copy
This section gives you two copy-ready blocks, built only from fields and formats verified in the vendor docs linked in Sources. Replace the example addresses and values with your own.
First, a robots file that names each OpenAI agent on its own line. In the block below, the GPTBot group says no to training use. If you decided to allow training use, switch that group to Allow. The ChatGPT-User group is left out on purpose, for the reason given in step two.
User-agent: OAI-SearchBot
Allow: /
User-agent: GPTBot
Disallow: /
Sitemap: https://www.example.com/sitemap.xml
Second, a Product block in JSON-LD, the machine-readable version of one product page. Every field in it comes from the Product structured data guide in Sources. Swap the placeholders for your real price, your real stock state, and your real shipping details, and check every value against the visible text on the page. priceValidUntil is shown as a placeholder shape: put in the real date the price runs until, in YYYY-MM-DD form, or drop the field.
{
"@context": "https://schema.org",
"@type": "Product",
"name": "[Product name]",
"description": "[One plain sentence about the product]",
"offers": {
"@type": "Offer",
"priceCurrency": "USD",
"price": "[Price]",
"priceValidUntil": "YYYY-MM-DD",
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition"
}
}
Worked example: a candle shop that was closed to search and did not know it
Take a small candle shop that sells poured candles, wax melts, and gift sets, with a guide on choosing a scent for a small room. The owner assumed ChatGPT could find the shop, because the site looked fine in a browser. When she opened robots.txt, she found a blanket Disallow that a privacy checklist had added years ago, catching OAI-SearchBot with it. When she checked the firewall, she found the published OpenAI ranges were being challenged. When she fetched a product page as raw text, she found the price loaded only after JavaScript ran.
She decided to keep training out and to welcome search, so the file named OAI-SearchBot with Allow and GPTBot with Disallow, each on its own line. She allowed the published IP ranges at the edge. She rewrote the product facts so the price, the stock state, and the shipping promise agreed in words and in code, and she had the price served as plain HTML. She asked ChatGPT the questions a customer would ask about candles for a small room, waited a day, and asked again. The shop appeared, and the pages it cited were the product pages and the scent guide, not a stale listing. The fix was a file, a firewall rule, and true facts, in that order.
Frequently Asked Questions
Does blocking GPTBot stop ChatGPT from citing my shop?
No. OpenAI treats the two settings as separate, and says so in its own docs. Blocking GPTBot signals that your content should not be used for training. It does not block search. Allowing OAI-SearchBot is the search decision, and it is a separate line in the file.
Should I add a rule for ChatGPT-User in robots.txt?
No. OpenAI says ChatGPT-User fetches a page when a person asks a question, that robots.txt rules may not apply to it, and that it is not used to decide whether content may appear in search. Use OAI-SearchBot for search inclusion, and allow the published IP ranges at the edge.
How do I know a visit in my logs really came from OpenAI?
Check the source IP against the published ranges, at the searchbot.json, gptbot.json, and chatgpt-user.json addresses in Sources. Anyone can fake a user agent string, so a token in a log on its own is not proof the visit came from OpenAI.
How long does a robots.txt change take to reach ChatGPT search?
OpenAI says it can take about 24 hours from a robots.txt update for its systems to adjust. A retest the same afternoon is not a verdict. Wait a day, then test again.
Does my price need to be in the raw page text, or is the browser view enough?
It needs to be in the raw text. If the price loads only after JavaScript runs, a crawler that reads the first wave of HTML may never see it. Fetch the page with curl or view source, and confirm the price and the stock state are there before any JavaScript runs.
Verified Sources & Technical Documentation
- OpenAI, Overview of OpenAI crawlers Specific https://platform.openai.com/docs/bots
- OpenAI Help Center, Shopping with ChatGPT Search Specific https://help.openai.com/en/articles/11128490-shopping-with-chatgpt-search
- Google Search Central, Product structured data Specific https://developers.google.com/search/docs/appearance/structured-data/product
- Schema.org, Product type Specific https://schema.org/Product
- RFC 9309, Robots Exclusion Protocol General Docs https://www.rfc-editor.org/rfc/rfc9309.html
- llms.txt proposal Specific https://llmstxt.org
links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.