site-kit v8.12.0Changelog →
Build on Sonor
One API key connects your Next.js site to Sonor. Start with site-kit for SEO, analytics, forms, chat and agent tools. Add press-kit for publications or commerce-kit for products, events and memberships.
npm i @sonordev/site-kit
app/layout.tsx
import { SiteKitLayout } from '@sonordev/site-kit/layout'
export default function RootLayout({ children }) {
return (
<html lang="en">
<body>
<SiteKitLayout>{children}</SiteKitLayout>
</body>
</html>
)
}Terminal
$ npx sonor-setup init --api-key $SONOR_API_KEY --yes $ npx sonor-setup verify ✓ All checks passed
Packages
Each page is read from the published package, so the docs match the latest release.
Core
- @sonordev/site-kitv8.12.0One API key for Sonor site infrastructure: SEO, analytics, forms, booking, chat, AI visibility, agent tools and motion. Publications live in Press Kit; commerce and memberships live in Commerce Kit.$ npm i @sonordev/site-kit
- sonor-setupv7.5.2Set up, verify and migrate a Next.js site on Sonor: Site Kit infrastructure, Press Kit articles, Commerce Kit, MCP and agent-readable checks.$ npx sonor-setup
- @sonordev/contractsv2.26.0Shared validation rules, wire types and JSON schemas for Sonor applications.$ npm i @sonordev/contracts
- @sonordev/agency-site-kitv0.13.0For agenciesCase studies from Sonor on your agency site: the fetchers, the rules every number follows, section order, JSON-LD, live updates, draft preview and a starter renderer you own.$ npm i @sonordev/agency-site-kit
- @sonordev/re-site-kitv0.6.2For real estateReal estate listings on a Sonor-powered Next.js site: search and filters, a page per listing, IDX attribution, condo buildings, trending homes, and MCP tools for a buyer's AI assistant.$ npm i @sonordev/re-site-kit
- @sonordev/press-kitv1.4.0For publications and journalsPublications, article reading, brand starters, private previews, sent issue archives, newsletters, feeds and news sitemaps on the shared Sonor runtime.$ npm i @sonordev/press-kit
- @sonordev/commerce-kitv1.0.1For stores, events and membershipsProducts, services, events, checkout and memberships on a Sonor-powered Next.js site. It builds on site-kit, which carries the transport, the credential and the analytics.$ npm i @sonordev/commerce-kit
Made for agents, too
Assistants are how more and more people meet a business. site-kit gives a site three ways to work with them. How it fits together
- 01Readllms.txt, answer-engine blocks and schema, so assistants quote the business correctly.
- 02UseMCP tools for services, hours, FAQs, reviews and inquiries, with every call reported to Sonor.
- 03BuildA CLI where every command answers in JSON, so a coding agent can wire a site and prove it.
These docs are agent-readable: add .md to any URL, read llms.txt, or connect to https://sonor.dev/api/mcp.