Skip to main content

Magento

Ayo avatar
Written by Ayo
Updated over 9 months ago

Mortar platform has the potential to integrate with your e-commerce platform to increase sales and revenue. Magento store can be connected in simple clicks using your shop URL and Access token.

It works by using a shop URL, Access token and time zone to link the magneto platform to the Mortar portal. The Magento integration is done in near real-time, allowing the complete database to connect to the Mortar portal and update in near real-time.

Data is consolidated in near real-time by integrating different platforms, resulting in increased productivity. It eliminates the need to check each individual channel to view sales results. Sourcing data from disparate platforms, spreadsheets, and forms leads to duplicate records, each referring to the same entity. Mortar portal cleans the consolidated data by removing duplicated values and filling in missing values, allowing for better data analysis and management, as well as marketing strategy planning.

On your integrations page, click on Magneto to bring you to the magneto dashboard.

To integrate Magneto onto your Mortar dashboard, click connect! The integration of Magento to Mortar works by using the Magento store name and Access token to link the Magento platform to the Mortar portal.

To integrate Magento onto your Mortar dashboard, click Connect on the integration dashboard.

  • After clicking on connect, a window will pop up.

  • Integration with Magento requires you to pass the Shop URL and API Key to Mortar.

To get the Shop URL,

Navigate to the URL field on the browser > navigate to the Magento store and copy the full URL of the store (eg: https://www.storename.com.au)

Then you need to grant access to the store Web API. To do this,

  • Log in to your ‘Magento 2 Admin Panel’ and go to ‘Stores’ > ‘Configuration’ > ‘Services’.

  • Next click on ‘Magento Web API’ and open the ‘Web API Security’ accordion.

  • Under ‘Allow Anonymous Guest Access’ select ‘Yes’ and click Save Config

  • Next go to ‘Services’ again and click on ‘OAuth.’

  • Under ‘Allow OAuth Access Tokens to be used as standalone Bearer tokens’ select ‘Yes’ and click Save Config

Next are the steps on Magento 2 get API Keys:

  • Log in to your ‘Magento 2 Admin Panel’ and go to ‘System’> ‘Extensions’ > ‘Integrations’.

  • Click the ‘Add New Integration’ button.

  • Enter the following details for the integration:

    • Name: Enter a descriptive name for the integration. This helps in identifying the integration purpose. (eg: Mortar)

    • Email: Provide a contact email address for the integration.

    • Callback URL: Leave this blank.

    • Identity Link URL: Leave this blank.

    • Your Password: Enter your current admin password. It is required to confirm your identity and authorize the integration.

  • On the left panel, click the API tab.

  • Grant access to All resources for the integration.

  • Click ‘Save’ to create the integration.

  • Return to the ‘Integrations’ grid. Find your new integration and click the ‘Activate’ link next to it.

  • Confirmation screen showing the list of resources you have allowed for this integration.

  • Review the resources and permissions, then click ‘Allow.’

  • The integration tokens will be displayed on the screen: Consumer Key, Consumer Secret, Access Token, and Access Token Secret.

  • Copy the Access Token only.

Next from the Admin Panel

  • Go to System > Configuration > Service > Oath > Customer Token Lifetime (hours)

  • Set Customer Token Lifetime value to 0

  • Click Save Config

Entering the Shop URL and API Key to Mortar.

  • Copy and paste the Store URL and Access Token into the Mortar Portal integrations pop up.

  • Select the same Time Zone that has been used in your Magento store

  • Click the submit button.

Once you have connected your Magento successfully, the icon for Magento under the integrations page should show a green box on the upper right, indicating that it is connected!

Did this answer your question?