# Magento 1

## Overview

The Tray.io Magento 1 connector allows you to manage your store/stores in Magento 1.

## Authentication

To create a new authentication for the Magento 1 connector, first you need have on hand your Magento 1 host name (http prefix omitted, EG `www.<COMPANY>-magentostore.com`), your Magento 1 username and Magento 1 API key.
Once you have these, click the **New Authentication** button:
![magento-1-auth](https://tray.ai/documentation/images/connectors/service/magento-1/c612dc3f-edc3aab6_magento-1-auth.png)

## Available Operations

The examples below show one or two of the available connector operations in use.
Please see the [Full Operations Reference](#operationsFull) at the end of this page for details on all available operations for this connector.
A full list of operations can be obtained at the end of this Readme.

## Example

In the following example we create a workflow that retrieves a list of stores and then gets information about an individual store.
To begin with, create a workflow with a **Manual Trigger**, then add a step from the **Magento 1** connector with the operation set to `List stores`.
![magento-1-list-stores](https://tray.ai/documentation/images/connectors/service/magento-1/c612dc3f-e10bd9c0_magento-1-list-stores.png)
Next, we add a step from the Magento 1 connector with the operation set to `Get store`, to retrieve one of the stores from the list. Set the `Store ID` to the ID of one of the stores, by using a JsonPath as shown in the example:
![magento-1-get-store](https://tray.ai/documentation/images/connectors/service/magento-1/c612dc3f-9a785ae0_magento-1-get-store.png)
We will now be able to see information about an existing store in the **Debug** panel, as shown here in the example:
![magento-1-get-store-log](https://tray.ai/documentation/images/connectors/service/magento-1/c612dc3f-515e18e2_magento-1-get-store-log.png)
