Level up your content search with the sanity-algolia toolkit

Written by Rune Botten, Knut Melvær

Algolia is a service that lets you index and add complex search features to your content while also gathering useful metrics about what people are looking for and if they're able to find it. In conversations with customers and users, it frequently comes up as a technology they want to integrate with.

We want to help people get going with Sanity and Algolia quicker. So today we're announcing a toolkit that lets you index your content from Sanity into Algolia using serverless functions on Vercel. It comes with some helper functions that take care of the indexing mechanics and flatten Portable Text to an indexable form.

You can go to Algolia's blog post to read how to set it up or go directly to the GitHub repository.

Internal server error