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

# Magento 1

LoyaltyLion has support for Magento 1. You still install LoyaltyLion via Magento as normal, however you will need to handle the frontend implementation of the SDK yourself.

<Warning>
  Magento 1.x hit end-of-life in June 2020. We do not accept new Magento 1.x
  signups.
</Warning>

## Version support

LoyaltyLion has full support for Magento 1, both the community and enterprise editions. This is the guide for Magento 1.x.

| Magento edition      | Minimum compatible version |
| -------------------- | -------------------------- |
| Magento 1 Community  | 1.7                        |
| Magento 1 Enterprise | 1.12                       |

## Understand the LoyaltyLion extension

The LoyaltyLion extension for Magento 1 has three primary responsibilities:

* We add a single frontend block to your layout, which loads the [LoyaltyLion SDK](/sdk/) to provide customer UI
* We add observers to your order and customer lifecycle, to keep LoyaltyLion in sync as this data changes
* We add an additional REST API endpoint to manage price rules and rewards

<Info>
  We don't modify your database schema, add cron jobs, or modify customer data
  within your database. This minimizes the risk of incompatibility between
  LoyaltyLion and other modules.
</Info>

## Install Magento 1

Download the [LoyaltyLion for Magento 1.x](https://s3-eu-west-1.amazonaws.com/loyaltylion-static/magento/LoyaltyLion-1.7.0.tgz) package file.

<Steps>
  <Step title="Install the extension">
    Once downloaded, sign in to the back office as an administrator and navigate to `System > Magento Connect Manager`.

    <Frame>
      <img src="https://mintcdn.com/loyaltylion/mzpO03HW8a1K958n/images/documentation/magento-1/connect-manager.png?fit=max&auto=format&n=mzpO03HW8a1K958n&q=85&s=674ba6136f3bd16d49c65da12e5909c4" alt="Magento Connect Manager" width="994" height="586" data-path="images/documentation/magento-1/connect-manager.png" />
    </Frame>

    Select the LoyaltyLion package file you just downloaded and click **Upload**.

    <Frame>
      <img src="https://mintcdn.com/loyaltylion/mzpO03HW8a1K958n/images/documentation/magento-1/upload-package.png?fit=max&auto=format&n=mzpO03HW8a1K958n&q=85&s=0c01670f2116a21eba3f971ea2ca5e25" alt="Upload package" width="601" height="566" data-path="images/documentation/magento-1/upload-package.png" />
    </Frame>

    <Warning> You must now logout of the back office and then log back in again for the module to be fully loaded in your shop.</Warning>
  </Step>

  <Step title="Configuration">
    <Info>
      Your Loyalty Program is completely hidden from your customers until you choose
      to launch using the button on the LoyaltyLion admin dashboard.
    </Info>

    First, you need to enable the extension. In Magento, head to `System > Configuration` and then click the **LoyaltyLion** option, in the left menu under **Customers**.

    <Frame>
      <img src="https://mintcdn.com/loyaltylion/mzpO03HW8a1K958n/images/documentation/magento-1/configuration-loyaltylion.png?fit=max&auto=format&n=mzpO03HW8a1K958n&q=85&s=3a6bba248561b7b7a0cec9977990c382" alt="LoyaltyLion configuration" width="930" height="928" data-path="images/documentation/magento-1/configuration-loyaltylion.png" />
    </Frame>

    Next, you need to pick your configuration scope. Pick the **website** you wish to set up a Loyalty Program for.

    LoyaltyLion isn't visible or active for customers on other **websites** hosted on the same Magento server.

    <Note> Each token-secret pairing may only be used once. If you wish to install LoyaltyLion on multiple websites, then you need a secondary program. Please email [support@loyaltylion.com](mailto:support@loyaltylion.com) if you wish to add one.</Note>

    <Frame>
      <img src="https://mintcdn.com/loyaltylion/mzpO03HW8a1K958n/images/documentation/magento-1/choose-scope.png?fit=max&auto=format&n=mzpO03HW8a1K958n&q=85&s=73d60f2e5a3a0e5dd3fdf9cccb34dc45" alt="LoyaltyLion configuration scope" width="988" height="344" data-path="images/documentation/magento-1/choose-scope.png" />
    </Frame>
  </Step>

  <Step title="Connect and authenticate">
    Enter your LoyaltyLion `secret` and `token`. You can find these by referring to your setup page.

    Click on the **LoyaltyLion configuration** bar and enter the following details in the boxes provided, then press **Configure API access**:

    <Frame>
      <img src="https://mintcdn.com/loyaltylion/mzpO03HW8a1K958n/images/documentation/magento-1/api-configure.png?fit=max&auto=format&n=mzpO03HW8a1K958n&q=85&s=1fd371607f712f0e69aa18af20e1c165" alt="API configuration" width="930" height="399" data-path="images/documentation/magento-1/api-configure.png" />
    </Frame>

    <Check>
      You can now return to the setup page and check to see if LoyaltyLion was
      installed correctly.
    </Check>
  </Step>

  <Step title="Cache configuration">
    <Tip> Customers are authenticated with the LoyaltyLion SDK based on a server-generated token. [Before launching your loyalty program, ensure that the `loyaltylion_sdk` block isn't cached](https://help.loyaltylion.com/en/articles2197829-ee-cache-debugging-on-magento).</Tip>
  </Step>
</Steps>
