Articles in this section

Set up a connection to Magento 2

Magento 2 is an open-source eCommerce platform with features like order management, business intelligence, and shipping.

Set up a connection

After you start the connection, configure it in the Create connection panel and complete all of the required * authentication settings:

Setting

Instructions

Name your connection *

Enter a clear and distinguishable name.

Throughout integrator.io imports and exports, you will have the option to choose this new connection. A unique identifier will prove helpful later when selecting it from a list of the connections in your account.

Base URL *

Choose your Magento 2 account base URL. For example, if your instance URL is http://3.81.80.44/enterprise242/pub/admin_srsshv/admin, then http://3.81.80.44/enterprise242/pub/rest is your base URL.

Auth type *

Choose the authentication type, either Custom or Token depending on the Magento 2 authentication type you're connecting to. The settings then become specific to the selected authentication type.

Access Token *

(This setting is visible only when you select the custom as Auth type)

Enter your Magento 2 access token.

Multiple layers of protection, including AES 256 encryption, are in place to keep your token safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.

How to retrieve access token

Username *

(This setting is visible only when you select the token as Auth type)

Enter your Magento 2 username.

How to retrieve the username

Password *

(This setting is visible only when you select the token as Auth type)

Enter your Magento 2 password.

Multiple layers of protection, including AES 256 encryption, are in place to keep your password safe. When editing this connection, you must re-enter this value each time; it is stored only when the connection is saved and never displayed as text.

How to retrieve the password

Tip

This connector documentation describes only the settings shown for the Basic auth and Token auth view respectively. For the corresponding HTTP settings, see basic and token universal connector documentation respectively.

How to retrieve the username, password, and access token

  1. Sign in to your Magento 2 account. 

  2. Navigate to System > Permissions > All users.

  3. Click Add new user and enter all the required details.

  4. From Account information, copy the Username.

  5. Copy the Password.

To retrieve access token:

  1. Sign in to your Magento 2 account. 

  2. Navigate to System > Extensions > Integrations.

  3. Navigate to Basic settings > API.

  4. Select a suitable Resource access and click Save.

  5. Navigate to Integration info > Add new integration.

  6. Enter a suitable integration name.

  7. Enter the current password of the account and click Save.

  8. Copy Access token.