> ## Documentation Index
> Fetch the complete documentation index at: https://docs.reyapp.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Prepare your Apple Developer account

> Set up the Apple identifiers and App Group that OneSignal needs before you configure iOS push notifications.

Before you set up iOS push notifications in OneSignal, prepare the required identifiers in your Apple Developer account. You need access to **Certificates, Identifiers & Profiles** and the exact Bundle ID configured for your Rey app.

## Set up your Apple Developer account

<Steps>
  <Step title="Create the notification service extension">
    In [Apple Developer → Identifiers](https://developer.apple.com/account/resources/identifiers/list), create a new **App ID** with the Bundle ID `YOUR_BUNDLE_ID.OneSignalNotificationServiceExtension`. For example, `io.reyapp.preview.OneSignalNotificationServiceExtension`.
  </Step>

  <Step title="Create an App Group">
    In Apple Developer, create a new **App Group** with the value `group.YOUR_BUNDLE_ID.onesignal`. For example, `group.io.reyapp.preview.onesignal`.
  </Step>

  <Step title="Add the App Group to your Rey app">
    Open the App ID for your Rey app (`YOUR_BUNDLE_ID`). Under **Capabilities**, enable **App Groups**, choose **Edit**, and select the App Group you just created. Also confirm that **Push Notifications** is enabled.
  </Step>

  <Step title="Add the App Group to the notification service extension">
    Open the App ID for `YOUR_BUNDLE_ID.OneSignalNotificationServiceExtension`. Under **Capabilities**, enable **App Groups**, choose **Edit**, and select the same App Group.
  </Step>
</Steps>

<Warning>
  The Bundle IDs and App Group must match exactly. A different spelling, a missing `group.` prefix, or selecting the App Group on only one App ID can prevent iOS notifications from working.
</Warning>
