Gatsby
Install the plugin:
npm install @aeorank/gatsbyAdd the plugin to your Gatsby config:
import type { GatsbyConfig } from "gatsby";
const config: GatsbyConfig = { plugins: [ { resolve: "@aeorank/gatsby", options: { siteName: "My Site", siteUrl: "https://example.com", description: "A description of your site for AI crawlers.", organization: { name: "My Company", }, faq: [ { question: "What does your product do?", answer: "It helps you..." }, ], }, }, ],};
export default config;The plugin hooks into Gatsby’s onPostBuild lifecycle and writes all 8 AEO files to the public/ directory.
Generated Files
Section titled “Generated Files”After gatsby build, all 8 AEO files are in public/: llms.txt, llms-full.txt, CLAUDE.md, schema.json, robots-patch.txt, faq-blocks.html, citation-anchors.html, sitemap-ai.xml.