Algolia
Integrate Algolia DocSearch into your Flame documentation site.
Algolia DocSearch provides a fast, relevant search experience for documentation sites. Flame does not include Algolia by default — add it via a plugin registered in the plugins array of docu.json:
:::info title="Example configuration — adapt to your plugin"
The entry below is an example. @docubook/plugin-search-algolia is a placeholder —
replace it with whatever Algolia search plugin you install.
:::
The plugin format is [packageName, factoryOptions]. At build time, Flame loads the package, calls its default export as a factory with your options, and registers the returned plugin instance.
Register for DocSearch
Algolia provides DocSearch for open-source projects for free.
- Visit the DocSearch application
- Wait for approval
- Add credentials to docu.json
Crawler Setup
After your site is live, configure the Algolia crawler to index your pages. The crawler runs externally on Algolia's infrastructure — no build-time impact on Flame.
Dashboard Setup
- Open Algolia Dashboard
- Navigate to Crawler
- Add your domain
- Open the Editor
Crawler Configuration
Paste the configuration below into the editor. The values you need to change are highlighted.
Index Settings
Key settings worth noting:
Deploy
Credentials are in docu.json, so no .env or platform secrets needed. Deploy .docu/dist/ to any static host — the Algolia plugin handles everything at build time.
Last updated Aug 13, 2026