Build a custom client around the API
Custom Integration
Build a custom client around the API instead of using the widget.
When to use this
- You want a bespoke UI
- You need server-side control of prompts or tools
- You need tighter auth or logging
Basic flow
- Create a Site
- Store your API key server-side
- Send requests withtextandtexttext
- Render responses using a markdown library (e.g., )text
See API Overview and Chat Endpoint for details.