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

# Magento 2.x Installation

> How to install PureClarity into Magento 2.x using Composer and configure the extension

<Note>
  This guide covers the installation of PureClarity for Magento 2.x. Make sure you have Composer installed and admin access to your Magento store before proceeding.
</Note>

## How to install the PureClarity Magento 2.x extension

The extension must be installed using Composer on the command line:

```bash theme={null}
composer require pureclarity/pureclarity-magento-2 --no-update  
composer update  
php bin/magento module:enable Pureclarity_Core  
php bin/magento setup:upgrade  
php bin/magento setup:static-content:deploy
```

<Tip>
  After running these commands, make sure to clear your Magento cache to ensure the extension is properly loaded.
</Tip>

## What does the extension do?

The PureClarity Magento 2 extension provides the following functionality:

* **Free Trial Setup**: Allows you to sign up for a 30-day free trial directly from your admin panel
* **Guided Configuration**: Provides step-by-step guidance for initial PureClarity setup in your store
* **Automatic Zone Setup**: Configures [Zones](/features/zones/overview) for key pages:
  * Home Page
  * Product Page
  * Basket Page
  * Order Confirmation Page
* **Data Synchronization**: Ensures data integrity between your store and PureClarity through automated cron jobs and indexing
* **Event Tracking**: Tracks frontend events to ensure recommendations use up-to-date customer behavior data

## Next Steps

Once installed, you'll need to create a PureClarity account to start using the personalization features. This can be done directly from the PureClarity Dashboard page in your Magento Admin.

<Info>
  [Continue with the free trial signup process](/integrations/magento/magento-2/free-trial-signup) to complete your PureClarity setup.
</Info>
