> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Magento features compatibility

> Discover the external and optional modules available in addition to the extension.

## Magento Inventory (MSI)

<Note>
  The code for the `Algolia_AlgoliaSearchInventory` module is a community-developed module available on [GitHub](https://github.com/algolia/algoliasearch-inventory-magento-2). Though Algolia is a contributor to this repository, there is no product roadmap for this module and it's not aligned with the Algolia/Magento integration product releases.
</Note>

The Algolia extension supports the [Magento Inventory](https://developer.adobe.com/commerce/php/module-reference/module-inventory/) module,
also known as Multi-Source Inventory (MSI).

For more information, see [Inventory Management](https://developer.adobe.com/commerce/webapi/rest/inventory/) in the Magento developer documentation.

The MSI features include:

* Different configurations for merchants whose inventory originates from single or multiple sources
* Stock tracking through assigned sources
* Concurrent checkout protection
* Shipment matching algorithms

As a consequence, you can create multiple inventory sources and stocks to manage the availability of products in your stores.

### Compatibility

MSI changed the way a product is determined to be in stock or not.
To support the new behavior and to keep backwards compatibility with older versions of the Magento 2 integration,
Algolia provides an optional module, `Algolia_AlgoliaSearchInventory`.

You can download this module separately with Composer and use it in addition to the Algolia extension.

You can use the `Algolia_AlgoliaSearchInventory` module with version 1.12 or later of the Algolia extension.
To decide which version of the `Algolia_AlgoliaSearchInventory` you need to install,
check the [compatibility](https://github.com/algolia/algoliasearch-inventory-magento-2#compatibility) on GitHub.

### Requirements

You can use `Algolia_AlgoliaSearchInventory` if:

* You're using Magento version 2.3 or later
* You're using multiple sources/stocks to manage your inventory

<Check>
  If you don't use MSI, adding the `Algolia_AlgoliaSearchInventory` module won't break your indexing process,
  but it may slow it down. You should only install the module if you're using MSI.
</Check>

### Install the Algolia\_AlgoliaSearchInventory module

```sh Command line icon=square-terminal theme={"system"}
composer require algolia/algoliasearch-inventory-magento-2
php bin/magento module:enable Algolia_AlgoliaSearchInventory
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy # in case you're on production mode
```

Now, your multiple sources and stocks are handled as you expect and you can continue to use the Algolia extension.

## Backend search adapter

<Note>
  The `Algolia_SearchAdapter` module is an official companion module available on [GitHub](https://github.com/algolia/algoliasearch-adapter-magento-2). It's maintained by Algolia and aligned with the Algolia/Magento integration product releases starting with version 3.18.
</Note>

The Algolia Search Adapter registers Algolia as a native Magento 2 search engine
and provides backend (server-side) rendering for category pages and search results.
When enabled, Magento's standard product listing blocks query Algolia directly
making content visible to search-engine crawlers, LLM-based discovery tools,
and any client that doesn't run JavaScript.

### Install the Algolia\_SearchAdapter module

```sh icon="square-terminal" theme={"system"}
composer require algolia/algoliasearch-adapter-magento-2
php bin/magento module:enable Algolia_SearchAdapter
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
```

For configuration details, see [Backend search adapter](/doc/integration/magento-2/how-it-works/search-adapter).
