# [Rebilder documentation](https://rebilder.com/docs)

| Title | Note | Group |
| --- | --- | --- |
| [Quickstart](https://rebilder.com/docs/quickstart) | Install the gateway in a Next.js app, wire it to your pages, connect the event sink, and verify with two curl commands. Target: under 30 minutes, no conversation required. | Getting started |
| [Next.js adapter](https://rebilder.com/docs/adapters/nextjs) | Mount the gateway as Next middleware (`@rebilder/gateway/next`), plus an optional always-markdown route for previews and agent permalinks. | Adapters |
| [Shopify adapter](https://rebilder.com/docs/adapters/shopify) | Serve gateway markdown from a merchant’s own storefront domain through a Shopify App Proxy, with no theme edits, no Liquid, and HMAC verification. | Adapters |
| [WordPress plugin](https://rebilder.com/docs/adapters/wordpress) | Serve posts, pages and WooCommerce products as markdown from your own WordPress install. Free forever, GPL-2.0-or-later, and silent until you connect it to a Console. | Adapters |
| [Node adapter \(Express & Fastify\)](https://rebilder.com/docs/adapters/node) | Connect-style middleware for Node HTTP servers (`@rebilder/gateway/node`), written against structural types and importing nothing from express, fastify, or node:http. | Adapters |
| [Cloudflare Worker & edge](https://rebilder.com/docs/adapters/cloudflare) | A fetch-handler factory for web-standard edge runtimes (`@rebilder/gateway/edge`): a complete worker in five lines, with origin pass-through included. | Adapters |
| [Sources](https://rebilder.com/docs/sources) | The `GatewaySources` contract: how the gateway reads your source of truth, field by field, and the guarantees that govern what it renders. | Concepts |
| [Classification](https://rebilder.com/docs/classification) | How the gateway decides who is asking (five checks, cheapest first, pure compute) and the guardrail that keeps crawlers on canonical HTML. | Concepts |
| [Events](https://rebilder.com/docs/events) | The observation layer: one `RebilderEventV0` per handled request, a frozen v0 schema, and sinks that can never break your serving path. | Concepts |
| [Agent intent](https://rebilder.com/docs/intent) | What agents asked your store: search queries, zero-result demand, AI referrers. Captured at emission, PII-screened, and rendered in Console insights and the weekly digest. | Concepts |
| [The Rebilder Tag](https://rebilder.com/docs/tag) | One pasted script that counts AI-referred visitors and browser-driving agents on your own site. What it reports, what it refuses to collect, and what it can never see. | Concepts |
| [Answers Hub](https://rebilder.com/docs/answers-hub) | A merchant-approved answers directory served through the gateway: labelled facts and comparison tables drafted from your own catalog and the real searches agents sent you, published only after you approve each entry. | Concepts |
| [Outcomes](https://rebilder.com/docs/outcomes) | Report orders through `POST /v1/outcomes` or the Shopify orders webhook. The funnel attributes them to agent traffic with labeled evidence: explicit, lookback-inferred, or none. Nothing is guessed. | Concepts |
| [Protocols \(UCP / ACP / MCP\)](https://rebilder.com/docs/protocols) | Spec-versioned adapters that make a gateway-fronted store transactable: UCP discovery, catalog, and checkout handoff; an ACP product feed; and an MCP tool server. All wire in through one `createProtocolHandler` call. | Concepts |
| [llms.txt](https://rebilder.com/docs/llms-txt) | Deterministic llms.txt generation from your gateway config, shipped because it’s cheap and merchants ask for it, with an honest note on what it actually does. | Concepts |
| [Troubleshooting](https://rebilder.com/docs/troubleshooting) | The failure modes people actually hit: what each one means, and the fix (including the ones that aren’t bugs). | Reference |
| [API reference](https://rebilder.com/docs/reference) | Every public export of `@rebilder/gateway` (root + `/next`, `/shopify`, `/node`, `/edge` subpaths), `@rebilder/events`, and `@rebilder/protocols`, with signatures. | Reference |