Integrations

Search that fits the stack you already ship.

One retrieval API, then a recipe for wherever your data lives: React, server-rendered apps, relational databases, commerce systems, and A/B/C search experiments.

Adoption path

  1. 01 Pick a framework recipe for the UI.
  2. 02 Sync source data into one or more indexes.
  3. 03 Run A/B/C retrieval experiments before a full rollout.
Start with the React SDK

Framework recipes

UI paths for modern app stacks

Live means a first-party package exists today. Recipe means the pattern is documented on stable REST/SDK primitives.

Next.js + React

Live

Use @headband/react in App Router or Pages Router search surfaces.

npm i @headband/reactOpen recipe

Remix / React Router

Recipe

Call the REST API from loaders/actions and hydrate client-side refinements.

fetch('/v1/search', { method: 'POST' })Open recipe

Astro

Recipe

Render static catalog shells and hydrate Headband search islands only where needed.

fetch('/v1/search', { method: 'POST' })Open recipe

SvelteKit

Recipe

Use fetch against /v1/search from load functions or progressive-enhanced forms.

fetch('/v1/search', { method: 'POST' })Open recipe

Rails / Laravel / Django

Recipe

Index relational records with sync scripts, then render server-owned search pages.

curl https://headband.dev/v1/searchOpen recipe

Sync connectors

Get source data into search safely

View JSON catalog

Postgres / Neon / Supabase

Recipe

Run a scheduled SQL export into /v1/bulk, then validate with /v1/search.

npm run sync:postgres
Auto-sync
Create, update, delete
Schedule
Every 15 minutes for active catalogs
View sync guide

MySQL / PlanetScale

Recipe

Export MySQL rows through the mysql CLI and batch them into Headband.

npm run sync:mysql
Auto-sync
Create, update, delete
Schedule
Every 15-60 minutes for product/search tables
View sync guide

Shopify

Recipe

Mirror Shopify products/variants into a searchable catalog index.

npm run sync:shopify
Auto-sync
Create, update, delete
Schedule
Every 5-15 minutes for product catalogs
View sync guide

Stripe catalog

Recipe

Mirror products/prices into an index for account portals, docs, and internal tools.

npm run sync:stripe
Auto-sync
Create, update, delete
Schedule
Hourly for active catalogs
View sync guide

BataDB Search add-on

Recipe

Blueprint for a paid BataDB add-on: BataDB owns billing and product UX; Headband owns retrieval, indexing, and analytics.

npm run sync:batadb
Auto-sync
Create, update, delete
Schedule
Every 5-15 minutes for paid add-on tenants
View sync guide

Hosted connector scheduler

Roadmap

Managed scheduling, retries, logs, and secret storage belong in the connector runtime roadmap.

Auto-sync
Managed scheduling — roadmap
Schedule
Tenant-configurable once hosted connector scheduling ships
View sync guide

A/B/C testing

Experiment with retrieval before betting the product on it.

Use Headband indexes as experiment variants and split traffic in your app. Your app owns traffic allocation; Headband keeps retrieval outcomes beside query quality.

Engine A/B/C test

Recipe

Split traffic across Meilisearch, Typesense, and Elasticsearch indexes for the same corpus.

Ranking rules test

Recipe

Compare synonyms, typo tolerance, filters, and boosts without changing client code.

Hybrid/RAG quality test

Recipe

Compare lexical, vector, and hybrid retrieval before rolling a RAG flow to everyone.