📍 Bolt Help / Add-Ons / SSO Commerce / Embedded Shopper Account Editing / Install Bolt Embed Script
Install Bolt Embed Script
Install the Bolt Embed Script into your storefront.

Before you can use the Bolt Accounts product, install the Bolt Embed Script to every page where a shopper can check out from your store.

<script
    id="bolt-embed" 
    type="module" 
    src="{BASE_URL}/embed.module.js"
    data-publishable-key="{your-bolt-publishable-key}" 
    async
></script>
<script
    id="bolt-embed" 
    type="text/javascript" 
    src="{BASE_URL}/embed.js"
    data-publishable-key="{your-bolt-publishable-key}" 
    async
></script>
<script
    id="bolt-embed" 
    type="text/javascript" 
    src="{BASE_URL}/embed.js"
    data-publishable-key="{your-bolt-publishable-key}" 
></script>

Base URL

The Base URL ({BASE_URL}) should be one of the following, depending on the phase of your implementation process:

  • Production: connect.bolt.com
  • Sandbox: connect-sandbox.bolt.com

The value should replace {BASE_URL} in the script to create a full file string: connect.bolt.com/embed.module.js.

Publishable Key

Your Bolt Publishable Key ({your-bolt-publishable-key})can be found in the Merchant Dashboard. Go to the Developers tab, then scroll to Keys and find “Publishable Key.”

Next Steps

Next, embed the Address Component into your UI to enable shoppers to edit their addresses from your site.

Filter by Section
Filter by Topic