Rebuy Smart Cart App Installation
In this guide we will cover how to add the Greenspark widgets to your Rebuy Smart Cart.
1. Create a Public API key
In order to dynamically show the correct widget in your Rebuy Smart Cart, your account needs to have an active Public API key.
To create your Public API key, head to Account → API → API Keys within your Greenspark account and click on Create API Key. Give the key a name, choose Public API key as the Type and click on Create API Key. Copy your key straight away, as it's only shown once.

2. Choose the Greenspark widget you want to add to Rebuy
Now that you have your Public API key set up, head to Engagement Hub -> Badges & Widgets within your Greenspark dashboard. So that you can easily see which widgets are compatible with Rebuy they are tagged in the list.

Click on the widget you want to use within your Rebuy Smart Cart

Then choose the Rebuy Smart Cart tab, select the store you want to add the widget to and copy the Rebuy API Key (you will need to insert this into Rebuy later)

3. Add the Widget to Rebuy
In Rebuy, go to the Smart Cart section, in your admin dashboard and access the Smart Cart that you want to add the Greenspark badge to.

When editing or creating the Smart Cart, scroll down to the Apps section and look for Greenspark. Click on Edit, paste the Rebuy API Key that you copied in step 2 into the input field provided and click Save.

Decide where you want to show the widget in your Smart Cart and enable it so that it will show within your cart.

Finally, open your smart cart to use the drag and drop editor to make any final edits.

Updated on: 17/11/2026
Thank you!