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

# Magento Installation

## Before you start

It's recommended that you first install the Magento module in a development
Magento environment which is an exact copy of your live store. After you have
verified everything is working properly in your development environment, you can
safely install the module in your live environment.

## Create a backup

Back up your Magento store database and files before installing the module.
You can do this via SSH or using the account dashboard of your hosting provider.

## Installation options

### Install the module via the marketplace

Our [Magento plugin](https://marketplace.magento.com/gr4vy-magento.html) is available for free
in the Magento Marketplace.

### Install the module with Composer

The module can be installed by running the command below in the Magento root
directory.

```sh theme={"dark"}
composer require gr4vy/magento
```

After installing with Composer, run the following commands in the Magento root directory
to complete the setup.

```sh theme={"dark"}
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
php bin/magento setup:static-content:deploy
```
