Developers
Embed the chat widget, sync knowledge from Payload or WordPress, or push content from your own Next.js / NestJS backend with @anhora/sdk. Pick the path that matches your stack — they compose. For live Slack handoff (team messaging), see /slack.
@anhora/next
Visitor-facing chat only. Best for App Router sites. The widget updates automatically, so you don’t need to update your application every time we release improvements. For knowledge from your own APIs, see Next.js backend; for Payload CMS, see Payload sync.
Add the Next.js helper with npm or pnpm.
npm install @anhora/next
# or
pnpm add @anhora/nextUse the deployment key from Dashboard → Site Chat → Publish.
import { AnhoraWidget } from '@anhora/next'
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body>
{children}
<AnhoraWidget
deploymentKey={process.env.NEXT_PUBLIC_ANHORA_DEPLOYMENT_KEY!}
channel="stable"
/>
</body>
</html>
)
}Publish a Site Chat in the Anhora dashboard, then copy the deployment key.
NEXT_PUBLIC_ANHORA_DEPLOYMENT_KEY=dep_…
# Optional overrides:
# NEXT_PUBLIC_ANHORA_API_BASE=https://api.anhora.net/api
# Loader defaults to https://anhora.net/anhora-loader.jsWidget = chat on the page. Payload = Anhora pulls from CMS Admin. Next/Nest + @anhora/sdk = you push knowledge from your backend. WordPress plugin = embed + knowledge push (+ WooCommerce catalog/Bridge when Woo is active). Live team messaging (Slack handoff): https://anhora.net/slack Dashboard: https://app.anhora.net Need Shopify? Email support.
Knowledge emerging from light
Pick a plan and publish your first Site Chat.