# Magento

### Connecting to Magento 2.x

To connect, set the URL; for example, <http://yoursitename/magento2>, and optionally provide the StoreCode of the store you are connecting to, if more than one are present.

### Authenticating to Magento

To authenticate to Magento 2.x server versions, you can use either the Basic or the Token AuthScheme.

#### Basic

* AuthScheme Set this to Basic.
* User Set this to your user name in Magento.
* Password Set this to your password in Magento.

#### Access Token

* AuthScheme Set this to Token.
* AccessToken Set this to your AccessToken in Magento.

To generate the AccessToken, Log in to the Magento Stores > Settings > Configuration > Services > OAuth > Access Token.
