Extensions
Chat Widget
Integrate the Mintlify widget to provide AI-powered chat functionality using your docs as the knowledge base.
Setup
- Generate an API key in the Mintlify dashboard
- Add the widget to your site:
HTML Integration
React Integration
Configuration
The widget accepts the following main configuration props:
Prop | Description |
---|---|
connection | Required. API connection settings (apiKey required) |
display | Optional. Widget appearance and interaction settings |
tracking | Optional. Analytics callback functions |
Display Options
- Trigger Types: Choose between
button
orinput
types - Colors: Customize
primary
andprimaryLight
colors - Chat Settings: Configure example queries and citation behavior
- Appearance: Control dark mode and trigger appearance
For detailed configuration options and tracking callbacks, visit our GitHub repository.
Was this page helpful?