Webflow Algolia search that stays in sync
Algolia is a hosted search engine: your content goes into an index, and a small UI on your site queries it as people type. We set up the index, the sync and a search box that matches your design.
How we set it up
The method depends on where your site is built. Here is what we use for Algolia on each platform.
Framer
Framer has no built-in Algolia connection, so we work via embed or API. The Algolia Crawler (or DocSearch for documentation) reads your published pages and fills the index. On the page, a code component loads the search UI and queries Algolia directly. Content updates reach search on the crawler’s next scheduled run.
Framer development Embed and crawlerWebflow
On Webflow we use the same pattern: the Algolia Crawler indexes published pages, or a small sync reads the Webflow CMS API and pushes collection items to an index. The search box and results panel go in as custom code in a site-wide component, styled with your Webflow classes.
Webflow development InstantSearch.js or DocSearchAstro
In Astro we push content to Algolia at build time from your content collections, then render search with InstantSearch.js or the DocSearch component inside an island. Only the search box ships JavaScript; the rest of the page stays static. A deploy hook re-indexes whenever the site rebuilds.
Astro development Official SDKNext.js
In Next.js we use React InstantSearch. For the App Router, Algolia’s react-instantsearch-nextjs package renders the first results on the server, so search pages are fast and crawlable. Indexing runs in a route handler or a CMS webhook, using the server-side API key, which never reaches the browser.
Next.js developmentWhat teams use it for
Documentation search
Developers find the right API page in two keystrokes instead of scrolling a sidebar of 200 links.
Blog and resource libraries
Large content hubs get a filterable search by topic, format and date, instead of a long archive page.
Help center deflection
Customers search answers before opening a ticket, and search analytics show which questions have no page yet.
What to watch out for
Only the search-only API key belongs in the browser. Admin and write keys stay on the server or in your build environment.
The index is a copy of your content. Without a crawl schedule or a publish webhook, search shows stale or deleted pages.
Load the search UI on interaction or in an island, not on every page view, so it does not weigh on your Core Web Vitals.
Questions about Algolia on Webflow
Do we need Algolia, or is Webflow’s built-in search enough?
How does Algolia stay in sync with the Webflow CMS?
What is DocSearch?
Will search results show up in Google?
Thomas OldenburgerFounder, design and build leadStill deciding? A 30-minute call answers most of it.
Related integrations and services
Contentful
An enterprise headless CMS with structured content, environments and roles for larger teams.
OpenSanity
A headless CMS with a customizable editing studio, real-time collaboration and structured content.
OpenGoogle Search Console
Google’s free tool for indexing status, search queries, sitemaps and technical search errors.
OpenNext.js development
Search with server-rendered results is usually part of a Next.js build.
OpenCore Web Vitals
Why a heavy search script costs you page speed.
OpenHeadless CMS
Glossary definition.
Open