How it Works
1
Prerequisites
To integrate Topsort with Algolia, make sure you comply with these prerequisites:
- Your product catalog is stored in an Algolia index.
- You are querying Algolia using the Algolia SDK.
2
Create API Key
Create an Algolia API key with the following permissions: search, browse, listIndexes (additional permissions like addObject and deleteObject may be needed depending on how you manage your index updates).
- The browse permission enables downloading of your entire catalog.
- The listIndexes permission allows Topsort to check the index’s last modification date to avoid unnecessary updates
3
Share Index Details
Contact Topsort support and share your Algolia index name. This allows Topsort to configure and start importing your catalog.
4
Configure Topsort Proxy
Update your Algolia SDK configuration to point to Topsort’s Proxy. This will allow Topsort to prioritize promoted products in the organic results returned by Algolia.