Via the Magento Connect package manager:

1. Sign into your Magento account and navigate to your Magento Connect package manager:

2. Download the LoyaltyLion extension.

3. Upload it here:

4. Sign out and in of your backoffice to clear the cache.

5. Navigate to System -> Configuration -> LoyaltyLion:

7. Find your token and secret in your merchant account here - if you don't have an account already, sign up here.

8. Enter your token and secret and hit "Configure API access":

Common questions

Visiting /api/rest on my store results in a 404 error page - why?

LoyaltyLion requires API access to your Magento store in order to function correctly.

If we can't access your API, the most likely explanation is a misconfigured .htaccess directing API requests to the wrong part of Magento internals.

A correct .htaccess has a rewrite rule near the beginning which looks like this:

RewriteEngine On 
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^api/rest api.php?type=rest [QSA,L]

My Magento development store is password protected, can I still set up LoyaltyLion?

LoyaltyLion requires access to your REST API.

It's quite common to control access to your store with HTTP Basic Auth during development. If you have done this, you'll need to remove this extra authentication on your API routes.

Example .htaccess configuration:

# set an environment variable "noauth" if the request starts with "/api/rest"
SetEnvIf Request_URI ^/api/rest noauth=1# the auth block
AuthName "Please login."
AuthGroupFile /dev/null
AuthType Basic
AuthUserFile /xxx/.htpasswd# Here is where we allow/deny
Order Deny,Allow
Satisfy any
Deny from all
Require valid-user
Allow from env=noauth

Did this answer your question?