---
title: Step 2. Configure Push notifications for iOS
description: In this step, you configure Apple Push Notification service (APNS), which handles sending the push notifications to iOS devices.
component: sdks
version: latest
page_id: sdks:authenticator-module:use-cases/push_notifications/02_configure_push_for_ios
canonical_url: https://docs.pingidentity.com/sdks/latest/authenticator-module/use-cases/push_notifications/02_configure_push_for_ios.html
revdate: Tue, 8 Nov 2022 16:17:48 +0000
section_ids:
  prerequisites: Prerequisites
  register_apns: Register a new key for APNs
---

# Step 2. Configure Push notifications for iOS

In this step, you configure [Apple Push Notification service (APNS)](https://developer.apple.com/documentation/usernotifications), which handles sending the push notifications to iOS devices.

You create a key that provides access to the service for third-parties.

## Prerequisites

* An Apple developer *Admin* account.

  *Developer* accounts cannot create the required keys.

* An iOS application in XCode configured with the Push Notifications capability.

  You can add capabilities when creating an iOS app project, or add them to an existing project. Refer to [Adding capabilities to your app](https://developer.apple.com/documentation/xcode/adding-capabilities-to-your-app/) in the Apple developer documentation.

  |   |                                                                                                                                                                                                                    |
  | - | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  |   | For development purposes, you can download the [Ping (ForgeRock) Authenticator module sample app](https://github.com/ForgeRock/sdk-sample-apps/tree/main/iOS/uikit-frexamples/FRAuthenticatorExample) from GitHub. |

## Register a new key for APNs

1. With an admin account, log in to the [Apple Developer console](https://developer.apple.com/account).

2. Navigate to **Program resources** > **Certificates, IDs & Profiles** > **Keys**.

3. Next to the Keys label, click the Add icon ([icon: circle-plus, set=fas]).

4. Enter a Key Name.

   For example, `APNs key for Push`.

5. Select Apple Push Notifications service (APNs).

6. Click Continue.

7. Check the details of the key, and then click Register.

8. On the Download Your Key page:

   1. Make a note of the 10-character Key ID.

      For example, `YCH15BO820`.

   2. Click Download and keep a copy of the `.p8` file safe.

      |   |                                                                             |
      | - | --------------------------------------------------------------------------- |
      |   | You cannot download or view the key again, so ensure you have a local copy. |

9. Click Done.

You will upload the `.p8` file and use the key ID when you [configure Push notifications in AWS](03_configure_push_in_aws.html).
