Skip to main content
All CollectionsSmart Cart Apps
Gatsby AI Smart Cart™ App
Gatsby AI Smart Cart™ App
Christian Sokolowski avatar
Written by Christian Sokolowski
Updated over 4 months ago

What is Gatsby?

Gatsby is a platform for social management that aids merchants in creating extensive ambassador programs and automating the management of their Instagram and TikTok communities.


Integration Overview:

With the Gatsby AI Smart Cart™ App, you can effortlessly incorporate a Klaviyo form into the cart and enroll customers into your community during checkout. This equips your social managers with the necessary tools to quickly expand and enhance your community, with genuine customers posting more authentic user-generated content that drives conversions.


Enabling Gatsby + Rebuy Integration:

To set up the Gatsby app within Smart Cart, follow these steps:

First you will need to gather some information so Open Gatsby, Klaviyo, and Rebuy Smart Cart. Then generate a Klaviyo Form that gathers both Email and Instagram Handle (or TikTok Handle), making sure to utilize the 'instausername' profile property to synchronize with Gatsby as demonstrated in this guide.

Once you have that information you can proceed to installing the app in Smart Cart.

  1. Open the Smart Cart you want to configure.

  2. Navigate to the section where you want to add the component.

    1. Don't worry; you can always move the app later if needed.

  3. Click on 'Add Component' within that section.

  4. Look for 'Add Smart Cart App' and select it.

  5. Search for the app by typing it's name in the search bar.

  6. Once you find the app, click install.

  7. Follow the instructions below to finalize the description, Klaviyo script, and Klaviyo form. Make sure to maintain the formatting provided for both the Klaviyo script and form.

  8. Toggle on the app and save your settings.

  9. After enabling, make sure you place it in your cart wherever you wish it to display.

  10. That's it! he app will render as specific within your Rebuy Smart Cart.


Gathering your Klayviyo Script:

To obtain your Klaviyo script, navigate to Klaviyo Settings and select API Keys, then retrieve your Public API key.

Klaviyo public API key location

Place that API Key at the end of the following string:


Obtaining your Klaviyo Form ID:

Klaviyo Form ID location

Ensure that you only paste the portion of the Klaviyo script that resembles the following: klaviyo-form-FormID


Refer to the video embedded at the top of this page to visualize the various locations available for the toggle switch or message display. If you have any questions, please do not hesitate to reach out to us or the Gatsby team. Thank you!

Did this answer your question?