📍 Bolt / Developers / Developer Guides / Integration Setup / Connect Route with Bolt

Connect Route with Bolt

The Route integration enables shoppers to purchase shipping insurance for their orders. Merchants can add Route as a product add-on after this integration is installed.

Reach out to your Customer Success Manager before beginning these setup steps.

Prerequisites







If you are a BigCommerce User, you must follow the instructions below to first install Route to your BigCommerce Storefront. After that, you must use your Route Public Key to connect Route as an Add On in your Bolt Merchant Dashboard.

Magento 2 users only need to use their Route Public Key to connect Route as an Add On in the Bolt Merchant Dashboard.

(BigCommerce Users Only) Install Route App

  1. Install the Route App to your BigCommerce storefront.
  2. Add the following to all connect.js scripts across your pages:
data-storefront-api-token="{{settings.storefront_api.token}}"
route-public-token="PUT ROUTE PUBLIC TOKEN HERE"
  1. Review the script. It should look like this:
<script
id="bolt-connect"
type="text/javascript"
src="https://connect.bolt.com/connect-bigcommerce.js"
data-publishable-key="PUBLISHABLE KEY"
data-shopping-cart-id="BigCommerce"
data-storefront-api-token="{{settings.storefront_api.token}}"
route-public-token="PUT ROUTE PUBLIC TOKEN HERE"
  1. Make sure that the script for automatically reloading the Bolt cart is correct. The correct script should include the following code snippet:
if (bigCommerceTotalPrice == "") {
       bigCommerceTotalPrice = newPrice;
       return;
}
  1. Publish the theme.

(All Users) Add Route as Bolt Product Add-on

  1. Log in to the Bolt Merchant Dashboard.
  2. Navigate to Settings > Checkout.
  3. Scroll to Product Add-Ons in Checkout.
  4. Toggle + Enable Route Integration switch to Enabled.
  5. A module should appear in the add-ons section with Route configurations pre-filled.
  6. Then, click Add and enter your Public Key from Route into the provided field and click Save.

Route Integration

Shoppers should now be able to see dynamically priced Route shipping insurance as an add-on during checkout.

👎

How did we do?