All Products
Search
Document Center

Mobile Platform as a Service:Create iOS P8 Real-time Activity Certificate

Last Updated:Jun 02, 2026

An APNs authentication key (.p8 file) is required to send iOS push notifications from your server. This guide covers creating the key in Apple Developer, downloading the .p8 file, and recording the Key ID and Team ID needed for server-side integration.

Prerequisites

Before you start, make sure you have:

  • An Apple Developer account with the Team Agent or App Manager role. These roles have the permissions required to create and manage keys.

  • Access to the Apple Developer portal.

Sign in to Apple Developer

  1. Go to Apple Developer and sign in with your Apple ID.

  2. Verify that your account has the Team Agent or App Manager role before proceeding.

Access the certificate page

  1. Select Account from the navigation bar.

  2. Click Certificates, Identifiers & Profiles in the left menu.

    image

Create an API key

  1. On the Certificates, Identifiers & Profiles page, select Keys from the left menu.

  2. Click the + icon in the upper-right corner to create a new key.

    image

  3. Enter a Key Name, for example, Push Notification Key.

  4. Select Apple Push Notifications Service (APNs) to enable push notifications for this key.

  5. Click Continue, review the details, then click Register.

    image

Download the .p8 certificate

  1. After the key is registered, a Download button appears on the confirmation page.

  2. Click Download to save the .p8 file. The file is named in the format AuthKey_XXXXXXXXXX.p8.

  3. Warning

    Store the .p8 file in a secure location immediately after downloading. You can only download this file once — it cannot be retrieved again from Apple Developer after the page is closed.

Record your Key ID and Team ID

Record the following values before leaving Apple Developer. You need both to configure server-side push notification delivery.

  • Key ID — Displayed to the right of your key name on the Keys page.

    image

  • Team ID — Displayed under Membership on your Apple Developer account page.

    image

    image

Reference

See the Apple Developer documentation for more information on managing private keys.