# Installing

## PHP Requirements

The Nosto Magento 2 MSI module requires at least PHP version >= 7.1.0 and Nosto's Magento 2 module >= 4.0.0

## Installing the extension

> Link to GitHub repository: <https://github.com/Nosto/nosto-magento2-msi>

Currently, the only way of installing the extension is via [Composer](https://getcomposer.org/). If you don't have composer installed you can get it by following [these instructions](https://getcomposer.org/doc/00-intro.md). It's recommended to install composer globally. You will also need public key and private key from Magento Marketplace or Magento Connect in order to install packages to Magento 2 via Composer. Please follow these instructions to get public key and private key <http://devdocs.magento.com/guides/v2.2/install-gde/prereq/connect-auth.html>. Once you have composer installed you can install Nosto extension (nosto/module-nosto-msi).

```
composer require --no-update nosto/module-nosto-msi:"@stable" && composer update --no-dev
```

```
bin/magento module:enable --clear-static-content Nosto_Msi
bin/magento setup:upgrade
bin/magento cache:clean
bin/magento setup:di:compile
```

You might need to change file permissions or ownership of the generated files after the installation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nosto.com/magento-2/addons/msi/installing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
