Getting started

Create an Algolia account

  1. Create your Algolia accout. The sign-up wizard will guide you through Algolia’s onboarding process. Pay extra attention to choosing your Algolia datacenter. Select the one which is the closest to your datacenter.
  2. Once you are logged into dashboard, get your Algolia credentials from the “Credentials” left-menu.
Sign up form
Algolia's sign up form

Install the extension

There are two ways how to install the extension:

1) Magento Marketplace

Navigate to Magento Marketplace and get the extension. After that navigate to your Magento administration and install the extension by following this awesome guide.

2) Composer

$ composer require algolia/algoliasearch-magento-2
$ bin/magento module:enable Algolia_AlgoliaSearch
$ bin/magento setup:upgrade
$ bin/magento setup:static-content:deploy

Configure Algolia credentials

When you have the extension installed, navigate to Stores > Configuration > Algolia Search administration panel.
There locate Credentials & Setup tab and configure your Algolia credentials:

Configuration
Extension's basic information configurations

Initial indexing

Force the re-indexing of all sections you want to synchronize with Algolia. In your console run command:

$ bin/magento indexer:reindex algolia_products algolia_categories algolia_pages algolia_suggestions algolia_additional_sections

This command will trigger reindexing on all your content.

Congratulations! You just installed Algolia extension to your Magento 2 store!