# Create your Magento connection

{% hint style="info" %}
**Oauth connection**: The first step is to install GearPlug in your account so that GearPlug may access the data.
{% endhint %}

To create your Magento Plug, you’ll need your website’s URL and an API token. Below, we show you how to get it:

1. **Head over to “System” and “Integrations”** in the left-hand menu of your Magento dashboard.

<figure><img src="https://lh7-us.googleusercontent.com/xEP5BedTwVPWyiGw6LeyPTtrJ3_V5L8oHKDgZjzwZ3BNDYYZh8YJesCT6Y5Lo0hnCJ7aVfARYcp25KFfNOt5c3wdVrvnJPOdHh0zs3pfpAVrce1SI0BqoiRlyx3Y-QeN9ed7tMqOC0CTtYQSscEpTQ" alt=""><figcaption></figcaption></figure>

2. **Click “Add New Integration”** above the integrations list.

<figure><img src="https://lh7-us.googleusercontent.com/UjGG0Q3NSnbRDpY5N_HyPmr-zcgiYCPHS8NAlTYR5lmCpCQ_gQcFAyqUTDe0G_Dici99bWhjECfauyOkydMkgbriDJggeYpHlGA5pq9wx9owIkrwwntAj5ccPj2e_ZKcBurmZWMrNIdrGRI0UEBn9g" alt=""><figcaption></figcaption></figure>

3. **Fill in the required fields** in the form. You only need a name for the integration and your user password. Then, head over to “API”.

<figure><img src="https://lh7-us.googleusercontent.com/gO2GQ17_h6Wvurg39wbbmWieo_o9xaLEI4soXucOyNdeouNLiQMZLhOUTSk34m3kXhynZEofYOaQE9ZW7AkeQx3hUuZdyoPUhBCqkT81hv9bCXUrAsH9pA-2cFim1fV1sV1_5NQAdIkSP2Xkm4xdwQ" alt=""><figcaption></figcaption></figure>

4. **Grant the necessary permissions** for the integrations. You only need access to the sales, catalog, and customers folders. Click “Save and Activate” and then “Allow” when asked to confirm.

<figure><img src="https://lh7-us.googleusercontent.com/GuIfii44w3Wp0dlgL81lNSZItySPBmkTyOio5GdZ6zGrqnHkR1vpJWiKK4hlY4HkknNw--m1FKemZqlM4EphDuJeSYjDCpsmxwBRjhevWF9ej0rrTkLYC6pdXRg8d_WlsNeP_jXnGD2vrXtH3f7BTQ" alt=""><figcaption></figcaption></figure>

5. **Copy your Access Token** on the next screen. You’ll need it for your Plug. If you need the code in the future, you can find it in the Integrations list.

<figure><img src="https://lh7-us.googleusercontent.com/9Hz2_eDdV1mXm4mM1nwuXOhmY-gQiUHs2BePYQAZBYbyg15d-m1fEnkKd50J6MUTuNh6MLfpfbv01Z8-BY86Fn4E8lGtN8ZjXVjHoRe_QXlC8tofirELTZ8jArtyOCdMzQhl0bqBgMR1nxL4STH0lw" alt=""><figcaption></figcaption></figure>

### Set up access

1. **Head over to “My Apps”** at the top of your GearPlug interface.

<figure><img src="https://lh7-us.googleusercontent.com/a2-N8FZ6jcWJjxqlAlz4nTQaKvjT8BqZ9x52TNOXG2_0YtI6xPZQsz1tjRSNGWCNevJTXxO3RBjBHn-wTZ0tzW946MhG6FK64k11dSrYvjrkrNRnpqJq70MmP_U0xo9wykXJoZeg9-aFC3iawQ9lVQ" alt=""><figcaption></figcaption></figure>

2. **Select “Magento”** in the drop-down menu under “New connection” and click “Create.”

<figure><img src="https://lh7-us.googleusercontent.com/yYb_zjFR02GXM2dhhoI_B08epBPy2oAk3Mi6UPWUsiUxEeQog_3s6xBmAi77aoR5jt35yoFiCgKWKPl0GQrZsswibmlvNDXU7sDCHRm4oJK7M399BsfY6jAROFdvK2tTxHIq2hu-Ic0D2xIOuyQm_A" alt=""><figcaption></figcaption></figure>

3. **Fill in the required fields**. Make sure to paste your website’s URL up to the “/” that comes after “admin.” You can find your Access Token following the previous steps. Click “Continue” to finish the setup.

<figure><img src="https://lh7-us.googleusercontent.com/oW6B5CfegSshvHM1zOdscf2UE8zAF9ZtG4DDsLJ0SWmUiAAVksKC9mm85aJhAJcn24itZVlT7yqXWPpg8zEhFzPFPfwPTgJ7QCiAjD7QQ27n7pRLcn2QmhJu0TwO5wUpvjQExq-caOG3BVOr4G0vuw" alt=""><figcaption></figcaption></figure>
