Install Bolt Embed Script
Install the Bolt Embed Script into your storefront.
Before you can use any Bolt Embedded product, install the Bolt Embed Script to every page where a shopper can check out from your store.
<script
id="bolt-embed"
type="text/javascript"
src="{BASE_URL}/embed.js"
data-publishable-key="{your-bolt-publishable-key}"
></script>
Base URL Options
The Base URL ({BASE_URL}
) should be one of the following, depending on the phase of your implementation process:
- Production:
https://connect.bolt.com
- Sandbox:
https://connect-sandbox.bolt.com
The value should replace{BASE_URL}
in the script to create a full file string:connect.bolt.com/embed.js
.
Bolt 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 Step
After you install the Embed Script, implement Auto Login to recognize shoppers with existing Bolt sessions and move directly to the payment step.