Integrations / Salesforce Commerce Cloud B2C

Index your catalogs to Algolia

Our cartridges come with two SFCC jobs that can build, synchronize and clear product and category indices. The AlgoliaProductsIndex job synchronizes product data, and the AlgoliaCategoriesIndex job synchronizes category data.

You can start the jobs right from the administration panel:

  1. Go to Administration → Operations → Jobs. Algolia SFCC jobs
  2. Click on AlgoliaProductsIndex and go to the Job Steps section.
  3. Make sure to set the execution scope to the site you want to run the job for.

Do the same for AlgoliaCategoriesIndex:

  1. Go to Administration > Operations > Jobs.
  2. Click on AlgoliaCategoriesIndex and go to the Job Steps section.
  3. Make sure to set the execution scope to the site you want to run the job for.

Now run both jobs.

When both jobs are complete, you can verify the indices are created by going to the Indices tab on the Algolia dashboard.

Running these jobs for the first time might take a while depending on how much data you have, since the cartridge has to send everything to Algolia. The next jobs will execute faster by only sending the data that changed.

Did you find this page helpful?