Skip to main content

Creating Push Notification Credentials

Push notification credentials can be required for integrations that have push functionality. These steps can be used to create the files and gather the required information.

Updated over a week ago

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

  1. Navigate to Account > Membership and make note of your Team ID.

  2. Go to Program Resources > Certificates, IDs & Profiles > Identifiers.

  3. 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

  1. Still in your Apple Developer account, visit Certificates, Identifiers & Profiles.

  2. Click Keys, then hit the + button in the top right to create a new key.

  3. Give the key a recognizable name (e.g., “Attentive Push Key”).

  4. Check the box for Apple Push Notifications service (APNs), then proceed.

  5. Select Configure to the right of the APN checkbox.

  6. Ensure that this is a combined Sandbox + Production .p8 file.

  7. Save the generated Key ID, and download the .p8 file. Important: You can only download this once—keep it in a secure location.

  8. 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

  1. Head back to the Firebase Console and select your project.

  2. In the left sidebar, click the gear icon → Project Settings.

  3. Go to the Service Accounts tab.

  4. Under Firebase Admin SDK, click Generate New Private Key, then confirm.

  5. A .json file will download—store this securely.

  6. Share the downloaded JSON key file with Attentive.

Did this answer your question?