Skip to main content
Configure Apple Push Notification service (APNs) for your OneSignal app. OneSignal recommends an APNs token-based .p8 key.
1

Create an APNs key in Apple Developer

In your Apple Developer account, go to Certificates, Identifiers & Profiles → Keys and create a new key. Enable Apple Push Notifications service (APNs) for both Sandbox and Production.
2

Download the .p8 key

Register the key and download the .p8 file. Apple lets you download it only once, so store it securely.
3

Open Apple iOS settings in OneSignal

In OneSignal, go to Settings → Push & In-App → Apple iOS (APNs) Settings and choose .p8 Auth Key.
4

Add the APNs details

Upload the .p8 file, then enter its Key ID, your Apple Developer Team ID, and your app’s Bundle ID.
5

Save the configuration

Save and continue in OneSignal. Your iOS platform is ready to deliver push notifications once the app is connected to Rey and published.
The APNs .p8 key is not the App Store Connect API key. Do not swap the Key ID and Team ID; both are 10-character values, but they identify different things.