Prerequisites
As you move through this certificate, you will have a chance to practice what you've learned in a series of hands-on exercises. In order to complete these exercises, you will need to set up your test environment so you can start making API calls into your account. Follow the steps in the dropdowns below to prepare for the hands-on portions of this certificate.
Create a test Klaviyo account
Test accounts are great for staging and practicing anything that you do not want to affect your live account and data. Creating a test account is free, and you can label an account as a test account to keep your test data organized and separate from your production data. You can also use the same login for your test and live accounts, so you can easily switch between the two accounts. Follow along the steps in create a test account to set up your test account.
Once this account has been set up, you can generate sample data. For this certificate, please generate sample Klaviyo Data. This will add example Klaviyo profiles to a list titled “Sample data list.”
If you already have a test account with lists, you are welcome to use your existing test account.
Create a private API key
Prior to making any server-side API calls, you will need to generate a private API key.
Part of the process of creating a private API key is to define the scope of this API key. For the exercises in this certificate, please give your private API the following scopes:
- Write accessto events, lists, and profiles
- Read access to metrics
You can also give your API key full access if you will use it for other API calls.
Private API keys are confidential. This means you should treat your private API keys like passwords. Never reveal them to anyone else. You can copy private API keys from your Klaviyo account without revealing the keys.
Please also make sure you have your public API key handy as you move through the exercises.
Create a Napkin account
Navigate to Napkin.io and create a free account. Napkin is a browser-based IDE that allows you to build and deploy Python and JavaScript functions. The interactive exercises in this certificate comprise skeleton Python functions that you can add and run directly from your Napkin workspace.
Access Napkin's documentation here.
Join the Developer Group on Klaviyo Community
Now that you’ve started dipping your toe in the waters of using Klaviyo’s APIs, it’s time to get connected with other people in the same boat as you. Take a minute to join the free Developer Group on the Klaviyo Community.
Throughout this certificate and your journey as a Klaviyo developer, this group will be helpful in connecting with other developers, troubleshooting technical challenges, and getting inspired.
Your Klaviyo developer toolkit
The following resources will be instrumental as you start developing in Klaviyo. Make sure to bookmark these, as you will reference them frequently.
Let’s get started!