Shopify Hydrogen
Install the plugin:
npm install @aeorank/shopifyConfiguration
Section titled “Configuration”Create an AEO config file:
import type { AeorankShopifyConfig } from "@aeorank/shopify";
export const aeoConfig: AeorankShopifyConfig = { siteName: "My Store", siteUrl: "https://mystore.com", description: "Your store description for AI crawlers.", organization: { name: "My Brand", url: "https://mystore.com", }, faq: [ { question: "What do you sell?", answer: "We sell..." }, ],};Routes
Section titled “Routes”Hydrogen uses Remix-style routing. Create resource routes for each AEO file:
import { createAeoLoader } from "@aeorank/shopify";import { aeoConfig } from "~/aeo.config";
export const loader = createAeoLoader("llms.txt", aeoConfig);Repeat for all 8 files:
app/routes/llms-full[.]txt.tsxapp/routes/CLAUDE[.]md.tsxapp/routes/schema[.]json.tsxapp/routes/robots-patch[.]txt.tsxapp/routes/faq-blocks[.]html.tsxapp/routes/citation-anchors[.]html.tsxapp/routes/sitemap-ai[.]xml.tsx
Generated Files
Section titled “Generated Files”All 8 AEO files are served at your store root: /llms.txt, /llms-full.txt, /CLAUDE.md, /schema.json, /robots-patch.txt, /faq-blocks.html, /citation-anchors.html, /sitemap-ai.xml.