Configure Algolia

Edit on GitHub

This document describes how to connect your Algolia account with Spryker and configure product export.

Prerequisites

Configure Algolia

  1. In your store’s Back Office, go to Apps.
  2. In App Composition Platform Catalog, click Algolia. This takes you to the Algolia app details page.
  3. In the top right corner of the Algolia app details page, click Connect app. The notification saying that the application connection is pending is displayed.
  4. Log in to the Algolia website.
  5. On the Algolia website, go to Settings.
  6. Under Team and Access, click API keys.

algolia-keys

  1. In the Your API Keys tab, take note of following keys:
    • Application ID
    • Search API Key
    • Admin API Key
  2. In the Back Office, go to the Algolia app details page.
  3. In the top right corner of the Algolia app details page, click Configure.
  4. In the Configure pane, for APPLICATION ID, SEARCH API KEY, and ADMIN API KEY, enter the values you’ve retrieved in step 7.

algolia-settings

  1. Optional: If your store model has products without prices, select Products without prices. This setting is used for the initial index setup of Algolia and can’t be changed later. Select this only if products without prices can exist in the application.
  2. To enable Algolia, select Use Algolia instead of Elasticsearch. After you save the settings, this enables Algolia search on your frontends: Yves or Glue API-based application. You can also enable it later, for example–after all your products are synced with Algolia.
  3. Click Save.

The Algolia app is now added to your store and starts exporting product data. For a product to be exported, it must fulfill the following requirements:

  • Product is approved and isActive
  • Product has prices unless Products without prices is selected

Depending on the size of your product catalog, Algolia can take from few minutes to several hours to export it. The average export speed is 300 products per minute.

Verification

Verify that your index is populated with data from your store:

  1. Go to the Algolia website.
  2. In the side pane, go to Search > Index.
  3. Make sure that the index is populated with data from your store.

algolia-index-data

For details about the created index data, see Indexes.