Partner Accelerator
Resources
Support
Built and supported by Algolia
Why use the Supabase Connector?
1. Eliminate custom pipelines and maintenance
With the Supabase Connector, you no longer need to write ETL scripts, cron jobs or custom data-sync logic. The connector lets you select a table or view in Supabase and index it in Algolia in minutes.
2. Real-time ready, production-scale search
Supabase gives you a Postgres-backend, Algolia gives you blazing-fast, semantic and typo tolerant search. The integration handles new records and updates via scheduled or on-demand syncs — enabling search experiences for internal tools, SaaS apps, or customer-facing product catalogs. Because you’re using Algolia’s search infrastructure, you’ll also benefit from sub-50 ms search, typo-tolerance, faceting and ranking tuning without managing search servers.
3. Developer-friendly and secure
Both Supabase and Algolia are API-first platforms. The connector walks you through a few configuration steps: host/port/database credentials for Supabase, choose a destination index, pick the table/view and schedule the tasks.
In addition, fine-grained control means you choose which columns to index, pick the primary key to map to Algolia’s objectID, and decide update strategy (full reindex, full updates, partial updates).
Key features
-
Seamless connection of a Supabase table or view to an Algolia index
-
Choose your sync strategy: on-demand or scheduled via cron expression
-
Supports full reindexing, full record updates or partial updates by fields
-
Column-level control: only include searchable fields you need
-
Primary key mapping from Supabase → Algolia objectID ensures consistent indexing
-
Built-in support for transformations (e.g., hide deleted records, merge address fields) as described in the blog use-case.
-
No maintenance required: you’re leveraging Algolia’s managed infrastructure
Best practices & tips
-
Use views when merging multiple tables: For example, if you have separate users, orders, and products tables but want one index containing user + order + product info, build a view in Postgres that flattens the data first.
-
Filter out soft-deleted records: Instead of deleting rows, if you maintain a
deletedAttimestamp field, use a transformation to exclude records from the index. -
Schedule updates wisely: If your data changes often (inserts/updates/high volume), choose a frequent cron schedule. If changes are limited, you might default to on-demand updates.
-
Minimize unnecessary columns: Indexing fewer, relevant attributes improves performance and cost.
-
Monitor sync task failures: In the overview docs it’s noted that if a task fails more than 5 times in a row it becomes deactivated – ensure your credentials, connectivity and permissions are correct.
-
Set correct primary key mapping: Algolia uses
objectIDto identify records; mapping Supabase primary key ensures updates match correctly.
Use-cases
-
Customer‐facing product catalog: Sync your Supabase products table, index fields like name, category, price, rating and use Algolia to power faceted search with typo tolerance.
-
Internal dashboard search: Build an admin tool with Supabase backend for your team, and leverage Algolia for fast filtering and results.
-
SaaS apps with complex data: Build views and use the connector to power search across combined datasets such as users, projects, and other entities.
Try it now
-
Log into your Algolia dashboard (or create a free account).
-
Navigate to Data Sources → Connectors → Supabase.
-
Follow the steps above to create your source, select your destination index, configure sync, and start indexing.
-
Once data is indexed, use InstantSearch (React, Vue, Angular) or other Algolia client libraries to build your search UI.
-
Refer to:
-
Supabase blog: “Algolia Connector for Supabase”
-
Algolia docs: Guide on the Supabase connector
-