Embedding
Choose the embedding method that best fits your tech stack and integration requirements
Last updated
Was this helpful?
Choose the embedding method that best fits your tech stack and integration requirements
Last updated
Was this helpful?
Was this helpful?
Node.js/NPM β Install via NPM for server-side rendering or build-time control
React component β Use prebuilt React components for seamless integration
Before embedding the Assistant, ensure:
GitBook Assistant is enabled for your docs site (Settings β AI & MCP)
Your docs are published and accessible at a URL (e.g., https://docs.company.com)
You have the embed script URL from your site settings (Settings β AI & MCP β Embed)
Choose your embedding method above, then explore:
Using with authenticated docs β Required if your docs require sign-in
Customizing the Assistant β Add welcome messages, buttons, and suggestions
Creating custom tools β Connect Assistant to your product APIs
