This guide walks through setting up push notifications in your Klaviyo account. After you've completed the steps in this guide you'll be able to send push notifications in your flows and campaigns.
There are three main prerequisites for using push notifications in Klaviyo:
- You must have your own native mobile iOS app.
- You must generate an APNs Authentication key from Apple that will be uploaded to Klaviyo (more details below).
- You must install the Klaviyo SDK and set up event tracking and push notifications in your iOS app.
Set Up Push Notifications in Your Klaviyo Account
After enabling the push notifications feature in your account, you have to connect your app to your Klaviyo account.
Start by navigating to your push notifications setup tab. You can access this tab from the account dropdown by navigating to Account > Settings > Push Setup.
Fill out the required information. Details on each item are included below.
- APNs Authentication Key
If you don't already have an APNs Authentication Key, you can create one here. Be sure to set the key type to APNs.
After creating your key, download the .p8 file, and upload it to your Klaviyo account.
- Key ID
To find your Key ID, navigate to your list of keys. Click your key to expand the details, and copy the Key ID.
- Team ID
Find your Team ID here.
- Bundle ID
Find your Bundle ID by logging into your iTunesConnect account and clicking on My Apps. Select your app and your Bundle ID is available on the App information tab. Your bundle ID should be similar to the following: com.YOUR_APP_NAME. Note that your Bundle ID is case sensitive.
After filling out all of the required information, click Setup iOS Push. A green success callout confirms that your app has been connected to your Klaviyo account.