Add AI support to any Next.js app
Whether you wrote it by hand, generated it with an AI tool, or inherited it from a template, Next.js is the most common landing spot for AI-built apps once they graduate to a real codebase.
Why a Next.js app needs support anyway
Next.js gives you routing, rendering, and deployment, but not a support desk. That part is still entirely on whoever ships the app, regardless of how it was built.
Add support to your Next.js app
- 01
App Router: edit app/layout.tsx
Add the script tag inside the root <body>, so it loads on every route in the app.
export default function RootLayout({ children }: { children: React.ReactNode }) { return ( <html lang="en"> <body> {children} <script src="https://app.resply.io/widget.js" data-org-id="YOUR_ORG_ID" async></script> </body> </html> ) } - 02
Pages Router: edit pages/_document.tsx
If you’re on the older Pages Router, add it to the shared _document instead.
<Html> <Head /> <body> <Main /> <NextScript /> <script src="https://app.resply.io/widget.js" data-org-id="YOUR_ORG_ID" async></script> </body> </Html> - 03
Deploy
Ship it through your normal deploy pipeline (Vercel, or wherever you host). No new dependency, no API route, no environment variable required.
The questions you'll get asked
Answer each once in your docs, and Resply handles it automatically from then on.
- How do I reset my password?
- Why am I getting a 500 error?
- How do I cancel my subscription?
- Do you have a status page?
- How do I contact support directly?
FAQ
Ship the app. Skip the help desk.
7-day free trial with Growth features (100 AI conversations), no credit card. Live in about as long as your last deploy.