Use case
Put an assistant inside your product
Users ask questions while they are inside the product. The assistant must live in the same UI, carry the product brand, and answer from the product documentation.
Last updated: November 9, 2026
Two paths exist. The website widget can be embedded with minimal code. For full control over layout, streaming and branding, call the REST API directly and render the answers in your own components.
Ways to build this
Two surfaces.
- Embed the website widget. Drop the script tag into the product shell. The widget inherits the page styles and answers with citations into the docs. See Website Widget.
- Build the chat UI yourself. Use the REST streaming endpoint to receive Server-Sent Events and render tokens as they arrive. The same endpoint powers the widget. See API Reference.
What to index
Product documentation: guides, API references, changelogs. Index via the website crawler or from the repository that holds the docs.
Keep the project external so the assistant can be reached by logged-in users without an internal key. See Projects & visibility.
Resources
- API Reference - streaming contract.
- Website Widget - quickest integration.
- The retrieval pipeline.
Stream tokens, not full answers
The SSE endpoint returns tokens as they are generated. Render them incrementally to give the impression of a live assistant rather than a delayed block response.
