www/apps/bloom/app/prompting/service-integrations-prompting/guides/algolia/page.mdx
export const metadata = {
title: Algolia Integration,
}
Add Algolia to give your store powerful search.
Algolia gives instant search results with filters to help customers find products fast. Bloom can set it up for you in minutes.
Before integrating Algolia, you need an Algolia account.
Bloom will also ask for API credentials and index name when you add Algolia. You can get them from your Algolia dashboard.
To get your Algolia credentials:
You also need to create an index in Algolia for products. To do this:
Ask Bloom to add Algolia with details about how you want search to work. For example:
Add Algolia as a search provider for my store. I want customers to
be able to search products by name, description, and categories. Add
a search bar to the header of my store and show instant search results as customers
type.
Bloom will set up Algolia as the search provider for your store and configure the search experience based on your requirements.
Bloom will ask for your Algolia credentials and index name. Enter the Application ID, Search-Only API Key, Admin API Key, and the index name you want to use.
Bloom stores these credentials securely and uses them to connect your store to Algolia.
<Note title="Technical Information">Bloom stores your Algolia credentials as environment variables in your store. They are never exposed in your code or logs. See Environment Variables for more details.
</Note>After Bloom adds Algolia, test search in your preview store. Search for products using different keywords and check that results appear instantly as you type.
Make sure search finds products by name, description, and category like you asked.
You can ask Bloom to adjust the search experience. For example:
Add filters to the search results pop-up so customers can filter by category.
Bloom will update the Algolia integration to include filters in the search results as you requested.
Once you've tested the integration and you're ready to go live, you can publish your changes with your live credentials.
To publish the changes:
Your Algolia integration will be published to your live store, and customers can start using it to search for products.
If you face any issues while adding Algolia to your Bloom store, contact support or submit feedback.