This integration displays allows you to import all existing Magento customers into Belco and loads relevant customer information from Magento on the customer detail page.
Before you begin please check if the REST API is accessible. The easiest way to that is to open an API endpoint in your browser, eg. https://yourdomain.com/api/rest/customers.
The page should return XML with an Access denied message.
If you get a regular 404 page, make sure the rewrite rules for the REST API are enabled.
If you are using a firewall please whitelist our proxy: 184.108.40.206
To enable this integration you first need to install our Magento Extension, if you've already installed the extension you can continue to step 2.
First, you need to create a Consumer in the Admin Panel. Creating a new consumer means registering the application. To do this, perform the following steps:
- On the Magento Admin Panel menu, select System > Web Services > REST - OAuth Consumers.
- On the OAuth Consumers page, click Add New in the top right corner to add a new consumer.
- The New Consumer page opens. The Key and Secret fields are filled automatically and cannot be edited. These values are generated automatically and will be used to identify the Consumer in Magento.
- Fill in a name for the consumer, eg Belco
- Copy & paste the Key and Secret, as we'll need it in the next step.
Click Save in the top right corner to save the created Consumer.
Then the appropriate roles have to be configured, in order to give Belco access to the REST api.
- On the Magento Admin Panel menu, select System > Web Services > REST - Roles.
- On the REST Roles page, click
Add Admin Role
- Enter a role name, eg
- Enter your admin password
- Configure the
Role API Resources, select
Click Save Role to save the new role.
- On the Magento Admin Panel menu, select System > Web Services > REST - Attributes.
- Click Admin
- Set Resource Access to all
Click Save to save the changes.
Next step is to assign the newly created role to a user.
Always create a new user without admin access for extra security.
- On the Magento Admin Panel menu, select System > Permissions > Users.
- Create a new user specifically to access the api.
- Open REST Role tab
- Select the Belco role you just created.
Click Save User to assign the new role.
Now that we've created a consumer for Belco, we can enable the integration in the Belco dashboard.
- On the top right settings menu, click on Settings
- On the left navigation, click on the shop you want to connect to Magento and open the Magento integration settings page.
- Enter the root url of your shop, eg https://mystore.com/index.php (be sure to add
/index.phpafter the url)
- If you use a custom admin path, replace admin by the path you're using.
- Paste the Key and Secret you just copied in the corresponding fields .
- Click Connect, a popup will be opened, redirecting you to your Magento store.
- In the popup login with the user for which you assigned the Belco REST role
If you're currently logged in as an admin user, log out first and continue from step 4.
Click Authorize to finish the configuration.
Once you successfully connected Magento you can import your existing customers into Belco.
New customers will be automatically added.
Click Import existing customers to start the import. Importing can take a while, depending on the amount of customers in your database.