Add and connect your website to Calcurates for Magento
How to add and connect a Magento 2 Website to Calcurates
Video: How to Add a Magento Website to Your Calcurates Account
Overview
The "Websites" section in Calcurates allows you to manage which Magento websites your shipping methods and rates logic is done for.
Adding a new website provides the Calcurates API Key needed to connect your Magento store to your Calcurates account.
Navigate to the "Websites" section in the left menu, and you'll be directed to the Websites grid where you can manage your websites by adding, editing, or deleting them.
Add / Edit website
General
In the General section should add the Website name and Website URL. They both are visible in your Websites grid.
• If you ship from a single origin, then this is your Main Origin.
• In case of Multi-Origin Shipping Main Origin will be used as a fallback Origin in Origin selection algorithm (picking the best Origin for the product when calculating shipping rates).
Integration
Calcurates provides you with API key in order to connect your Magento 2 to Calcurates:
Copy this API Key and insert it in your Calcurates Magento 2 module config:
In the "Platform Sync" section you need to synchronize your Magento 2 website with Calcurates. It means Calcurates gets all the essential data related to shipping from your Magento 2:
Units: base currency, time zone, weight units, dimensions, distance;
Paste Acces Token in your Calcurates Account: Website settings > Platform sync > Token Based
Click "Sync" in your Calcurates account
If everything is done right, then after pressing "Sync" you will see a popup with Website selector to choose the Website you want to sync with Calcurates. Select the Website and Click "Ok".
After a successful sync you will see an info popup:
When using a Multi-Origin Shipping is enabled the additional "Sync Origins" block appears in the "Platform Sync" section:
There are 2 options for mapping Calcurates Origins with the parameter that is responsible for the Origin (aka Warehouse, Source, Vendor or Supplier) in your Magento:
Magento MSI (sources)
Any Product Attribute that represents Origin
Do I need to enable "Sync Origins" toggle?
If you have many Origins, then it makes sense to enable "Sync Origin" toggle. In this case Calcurates will import Origins from your Magento and map them automatically when Website sync is performed. After that you will see imported Origins in the "Origins" section.
If there are a few Origins, then you may add Origins manually in the "Origins" section and map each of them in its settings.