Embed in your product
Embed your documentation in your product or website using the Docs Embed.
Last updated
Was this helpful?
Embed your documentation in your product or website using the Docs Embed.
Last updated
Was this helpful?
Was this helpful?
The Docs Embed is a powerful window into your product knowledge that you can add to any product or website. Users can ask their questions to the GitBook Assistant or browse your docs directly, without leaving your product. You can open the Embed with a button, put it in any component you want, or control it completely programatically.

The Docs Embed consists of multiple tabs that get shown automatically, depending on your site's configuration:
Assistant: The GitBook Assistant - an AI-powered chat interface to help users find answers
Docs: A browser for navigating your documentation site
You can customize and override the default configuration with custom actions, tools, suggested questions, Authenticated Access, and more.
Customizing the Embed β Add welcome messages, custom actions, and suggestions
Creating custom tools β Connect Assistant to your product APIs
For the complete API reference and source code, see the @gitbook/embed package on GitHub.