Platforms & integrations
AI chatbot for React and Next.js sites: where to mount the widget
Adding a chatbot for React or Next.js sites is a mounting question, not an integration project: one script, loaded once, outside the component tree it should not re-render with. This guide covers where to put it in the app router and the pages router, the hydration and route-change pitfalls, and why client-side rendering changes what content the assistant can read.