Configure APN Certificates
Step 2: Configure APN Certificates
Before Firebase Cloud Messaging (FCM) can send notifications to your iOS app, you need to configure the Apple Push Notification (APN) certificates.
Generate an APN key:
- Log in to your Apple Developer Account.
- Go to Keys and click the plus (+) button to create a new key.
- Enable Apple Push Notification service (APNs).
- Download the generated
.p8file once the key is created. Keep it secure, as it will be needed for Firebase configuration.
Upload the APN key to Firebase:
- Open the Firebase Console and navigate to your project.
- Go to Project Settings > Cloud Messaging tab.
- In the iOS app configuration section, upload the
.p8file downloaded from Apple Developer. - Enter the following values from your Apple Developer account:
- Key ID
- Team ID

Congratulations!
You’ve successfully configured your APN certificates and linked them with Firebase. Your iOS app is now ready to receive push notifications through Firebase Cloud Messaging (FCM) and Apple Push Notification service (APNs). With this step complete, you’re one step closer to enabling real-time notifications in your application.