- Head over to Certificates, Identifiers & Profiles > Keys.
- Register a new key and give it a name.
- Enable the Apple Push Notifications service (APNs) checkbox by selecting it.
- Click the Continue button and on the next page, select Register.
- Download the .p8 key file.
- Key ID - This is a 10-character unique identifier for the authentication key. You can find it in the key details section of the newly created key in your Apple developer account.
- Team ID - This is available in your Apple developer account.
- Bundle ID - This is the ID of your app. You can find it in the app info section of your Apple developer account.