docs
Documentation menu

APNs setup (.p8)

Upload your Apple push key so Pushlane can deliver to real devices.

#What you will need

ValueWhere to find itFormat
AuthKey_XXXXXXXXXX.p8Apple Developer → Keys (downloaded once)PEM text file
Key IDShown on the key detail page and in the filename10 alphanumeric characters
Team IDTop-right corner of every developer.apple.com page, and in Membership details10 alphanumeric characters
Bundle IDYour app target → General → Bundle Identifier in Xcodee.g. com.yourapp.ios

#APNs key vs App Store Connect API key

Heads up

These are two different Apple keys. Pushlane needs an APNs key, created in Certificates, Identifiers & Profiles → Keys with the Apple Push Notifications service (APNs) capability ticked.

Do not use a key from App Store Connect → Users and Access → Integrations. That key has an Issuer ID and cannot send push — APNs will reject every request with InvalidProviderToken.

Key typeWhere createdHasCan send push?
APNs keydeveloper.apple.com → Certificates, Identifiers & Profiles → KeysKey ID + .p8Yes
App Store Connect API keyApp Store Connect → Users and Access → IntegrationsKey ID + Issuer ID + .p8No — InvalidProviderToken
Note
The Team ID (top-right of developer.apple.com) is also different from the Issuer ID shown in App Store Connect. Paste the Team ID — 10 chars, no dashes.

#Create the APNs key in Apple Developer

Sign in at developer.apple.com with your paid developer account.

  1. Go to Certificates, Identifiers & Profiles → Keys and click the + button (or Create a key).
    Heads up
    This is developer.apple.com, not App Store Connect.
  2. Give the key a name (e.g. Pushlane Push Key), then tick Apple Push Notifications service (APNs). That checkbox is what makes this a real push key.
  3. Click Configure next to APNs. Set the Environment (Production covers both production and sandbox when used with auth-key tokens; choose Production unless you have a specific reason to scope to sandbox only). Optionally restrict the key to a specific App ID. Click Save.
  4. Click Continue then Register. On the confirmation page:
    • Copy the Key ID (10 characters) — it is also in the filename.
    • Click Download to get AuthKey_XXXXXXXXXX.p8. Apple only lets you download it once. Store it securely — this is what Pushlane will use to sign APNs tokens.
  5. Your Team ID is displayed in the top-right corner of every developer.apple.com page and under Account → Membership details.

#Upload to Pushlane

Open the Pushlane dashboard and go to Settings → APNs (or complete step 5 of the Quickstart if you haven't finished it yet).

  1. Paste your Team ID (10 chars).
  2. Paste your Key ID (10 chars — from the .p8 filename or key detail page).
  3. Enter your app's Bundle ID (e.g. com.yourapp.ios).
  4. Click Choose your AuthKey_XXXXXX.p8 and select the file. The key is read in your browser and encrypted at rest on upload — it is never stored or shown in plaintext again.
  5. Click Save credentials.
Note
Pushlane encrypts the .p8 before storing it and routes it only to requests for your tenant. If you ever rotate the key in Apple Developer, come back here and upload the new .p8 — the old one stops working the moment Apple deactivates it.

#Verify a real push

Once you have uploaded your key and the SDK is wired (device token registered):

  1. In the Quickstart or Settings → Install SDK, click Send a test push.
  2. Pushlane runs the event through the real ingest pipeline. The panel reports whether the event was accepted, ingested, and whether Apple accepted the APNs token.
  3. Check your physical device — the push should appear within a few seconds.
Heads up

If the push does not arrive, check in order:

  1. Did you add the Push Notifications capability to your Xcode target? Without it the device never produces a token (see the iOS Quickstart → step 2).
  2. Is the Team ID correct and does it match the account that owns the Bundle ID?
  3. Is the Key ID the one from the APNs key (not an App Store Connect key)?
  4. Does your device have notification permissions enabled for the app (iOS Settings → Notifications)?

#Next step

Your push credentials are live. Head to the flow builder to compose your first automated push campaign — triggers, delays, branches, and push nodes on a visual canvas.

Building flows →