This article walks through setting up push notifications in your Klaviyo account. After you've completed the steps in this article 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.
Note: Klaviyo does not currently support push notifications for apps made with Apple's TestFlight program.
- 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 Notification.
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. Note that the bundle ID is case sensitive and should be similar to the following:
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.
Learn how to use push notifications for campaigns and flows.