Overview
To authorize Attentive to send push notifications, Attentive needs a few sending credentials to successfully do that.
iOS sending requires:
Key ID
Team ID
Bundle ID
Private key (.p8 file)
Android sending requires:
Firebase Cloud Messaging (FCM) JSON key file
Apple Push Notification Setup Instructions
To enable push messaging for your iOS app, you'll need to gather a few credentials from your Apple Developer account. Follow the steps below to collect everything needed.
Step 1: Locate Your Apple Team & App Bundle IDs
Head to the Apple Developer Member Center.
Navigate to Account > Membership and make note of your Team ID.
Go to Program Resources > Certificates, IDs & Profiles > Identifiers.
If your app is already listed:
Select it from the App IDs list.
Record the Bundle ID.
Make sure Push Notifications are enabled, then save any changes.
Step 2: Create and Download Your Authentication Key
Still in your Apple Developer account, visit Certificates, Identifiers & Profiles.
Click Keys, then hit the + button in the top right to create a new key.
Give the key a recognizable name (e.g., “Attentive Push Key”).
Check the box for Apple Push Notifications service (APNs), then proceed.
Select Configure to the right of the APN checkbox.
Ensure that this is a combined Sandbox + Production .p8 file.
Save the generated Key ID, and download the .p8 file. Important: You can only download this once—keep it in a secure location.
Once finished, send over the following to your Attentive onboarding contact:
Key ID
Team ID
Bundle ID
The downloaded .p8 file
Set Up Firebase for Push Notifications
To authenticate your app with Firebase Cloud Messaging (FCM), you’ll need to download a secure JSON key file. Follow the steps below to get everything set up and ready for Attentive.
Step 1: Download the Private Key
Head back to the Firebase Console and select your project.
In the left sidebar, click the gear icon → Project Settings.
Go to the Service Accounts tab.
Under Firebase Admin SDK, click Generate New Private Key, then confirm.
A .json file will download—store this securely.
Share the downloaded JSON key file with Attentive.
