Mintlify
Add AI chat to your Mintlify docs in minutes
What is Mintlify?
Mintlify is a modern documentation platform used by thousands of developer-focused companies to publish beautiful, searchable docs. It generates a public website from MDX files in your repository.
How BeforeQuery works with Mintlify
Everything you can do once the integration is connected.
Automatic sitemap-aware crawl
BeforeQuery reads your Mintlify sitemap.xml, crawls every page, and normalizes content to clean markdown — stripping navigation, headers, and footers so only doc content is indexed.
Webhook-triggered re-indexing
Connect your Mintlify project's deploy webhook. Every time a new version of your docs goes live, BeforeQuery triggers an incremental sync so answers stay current without manual intervention.
Drop-in AI widget
Add the BeforeQuery widget to your Mintlify layout with one script tag. The widget respects your Mintlify theme colors and typography automatically.
Cited answers from your own content
Every answer includes links back to the exact Mintlify page and section — users click through to the source, not a generic AI summary.
How to set it up
In the BeforeQuery dashboard, create a project and add your Mintlify docs URL as a source. BeforeQuery discovers all pages via the sitemap.
Embed the widget script tag in your Mintlify custom layout, or use @beforequery/react if your docs site has a React wrapper.
Optionally register a deploy webhook in Mintlify pointing to your BeforeQuery project sync endpoint so the index stays up to date on every deploy.
Related integrations
Crawl, sync, and embed AI chat on any Docusaurus v2 or v3 documentation site.
Index your GitBook spaces and let users ask questions with full citations back to source pages.
Crawl your ReadMe docs hub and let developers ask questions with cited answers from your reference material.
Ready to connect Mintlify?
Start free. No credit card required. Connect your first integration in under 5 minutes.