- Login or create Algolia account
- Go to Settings - API Keys
- Copy the Application ID and Admin API Key
To provide the most precise search results at the variant level, the Search app uploads each variant as a separate document. You will likely want to group results by product. To achieve this, navigate to the index settings:
At the menu on the left choose Deduplication and Grouping
. Change the value of distinct to true
and set the attribute as productId
. If the attribute is not there, make sure you already reindexed your products.
After saving the changes variants will be displayed as a single product:
- Go to the app, in the
Algolia settings
section provide the required Application ID and Admin API Key - Save config
- Go to the
Algolia fields filtering
section and select which field should be sent to Algolia - Go to the
Index products
section and clickStart importing
to perform the initial product sync
- Go to Dashboard and update the name of one of the products
- You should see the change in Algolia