Resources
Platform Keys Setup
Configure Google Service Account and Apple P8 keys for push notifications
Google Service Account JSON (Android)
To send push notifications to Android devices, you need a Google Service Account key from Firebase.
1. Create Firebase Project
- Go to the Firebase Console
- Create a new project or select an existing one
- Register your Android app using your package name (e.g.,
com.example.your_app
)
2. Generate Service Account Key
- In the Firebase Console, go to Project Settings → Service accounts
- Click Generate new private key
- Download the JSON file - this is your service account key
3. Configure in PNTA Dashboard
- Go to your PNTA dashboard
- Navigate to Project Setup
- Go to the FCM Configuration tab
- Upload your Google Service Account JSON file
- Your Android push notifications are now configured
Apple P8 Key (iOS)
To send push notifications to iOS devices, you need an Apple Push Notification service (APNs) key.
1. Create APNs Key
- Go to the Apple Developer Console
- Click the + button to create a new key
- Enter a key name (e.g., “PNTA Push Notifications”)
- Check Apple Push Notifications service (APNs)
- Select Production for the key environment
- Click Continue and then Register
2. Download Key
- Download the
.p8
file - this is your APNs key - Note the Key ID (displayed on the download page)
- Note your Team ID (found in your Apple Developer account settings)
3. Configure in PNTA Dashboard
- Go to your PNTA dashboard
- Navigate to Project Setup
- Go to the APN Configuration tab
- Upload your
.p8
file - Enter your Key ID and Team ID
- Enter your App Bundle ID (e.g.,
com.example.your_app
) - Your iOS push notifications are now configured