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

# APNs BYOK

> Connect your Apple .p8 key to send iOS push with your own credentials.

# Apple Push Notification service (BYOK)

Use a **.p8** (token-based) key from your Apple Developer account. Sends still go through `POST /v1/push/messages`; iOS delivery uses **your** Apple account.

## Setup

1. Apple Developer → Keys → Create a key with Apple Push Notifications service (APNs)
2. Note **Key ID**, **Team ID**, **Bundle ID**, and download the `.p8`
3. In **Settings → Integrations**, connect **Apple APNs**
4. On the **Push App**, paste credentials on the app **or** use `apnsIntegrationId`
5. Choose **production** or **sandbox** (`apnsProduction`)

## Expected secrets

```json theme={null}
{
  "keyId": "ABCD1234",
  "teamId": "TEAMID123",
  "bundleId": "com.example.app",
  "keyP8": "-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----",
  "production": true
}
```

iOS devices register with `platform: "ios"` and the **APNs device token** (not the FCM token).

Step-by-step iOS app guide: [Configure iOS](/en/push-api/integracao/ios). Platform map: [Integrate apps](/en/push-api/integracao/index).

See also: [Firebase BYOK](/en/byok/firebase) and [Push introduction](/en/push-api/como-funciona/introducao).
