Integrate Sanity with Algolia

Facilitate indexing your Sanity documents as Algolia records

InstallView repo


This is an example of indexing Sanity content in Algolia directly from a Sanity webhook. The target of the webhook is a serverless function running on Vercel, Netlify, AWS etc.

Set up the following Webhook on Sanity. It needs to be that specific webhook projection at the moment, as this module is not yet updated to take advantage of the new GROQ powered Webhooks. You should configure your webhook to target the URL of the serverless function once deployed.

Was this useful?


Built by Algolia's developer community, not supported by Algolia



Sanity is the unified content platform that powers better digital experiences.

Recommended content

Backend Tools
Algolia pick

Integrate Wordpress with Algolia

Integrate Algolia with WordPress. Improve search on your site. Autocomplete is included, along with full control over look, feel and relevance.

  • PHP
  • Vanilla Javascript

Integrated with: