Connecting Gatsby + Klaviyo

Trigger email and sms flows when customers mention you on Instagram or TikTok



Step 1: Create a List in Klaviyo named 'Gatsby'


Step 2: Create a Klaviyo Private API key

1. Navigate to Klaviyo Settings >> API Keys >> Click 'Create Private API Key'

2. Name the key 'Gatsby' and select 'Full Access Key' then press 'Create'

Screen Shot 2023-05-10 at 5.51.04 AM

3. Copy the resulting API Key into your mouse

Step 3: Paste API Key in Gatsby

1. Open your Gatsby account

Note: You can login to Gatsby either by opening the Shopify app or entering a password at If you've never set a password before, you can set one by entering your email at Contact us if you have any questions or need to change the email associated with your account.

2. Click 'Integrations' >> navigate to Klaviyo, click 'Connect' >> enter your API Key

3. Once you click Integrate, you'll see a dropdown to select the List you created in Step 1


Step 4: Test the integration

1. Once steps 1-3 are complete, please import a subscriber to your Gatsby account and confirm that their social properties and mention events sync to Klaviyo.

Caution:  Profiles must include an email address in order to sync to Klaviyo. You have a few easy ways to add an email to a profile.

  • Open Instagram and tag your brand in a Post or Story. When a profile gets automatically created in Gatsby, edit 'No Email Yet' to add your email address
  • Import a test profile (guide)
  • If you already have a form connected to your Gatsby account, submit the form

Note: See a full list of what data will sync to Klaviyo here

Here's what else you can do with Gatsby + Klaviyo:

  • Create an Ambassador Signup Page using a standard Klaviyo Form
  • Segment customers using Instagram and TikTok insights
  • Send Email & SMS Flows to your community