Apple Push Notification (.p8) Setup Guide
Purpose: Get Apple Push Notification credentials for Intercom push notificationsRequired: Apple Developer account access
Time: ~5 minutes
Step-by-Step Guide
Step 1: Access Apple Developer Account
- Go to Apple Developer Portal
- Sign in with your Apple Developer account credentials
- If you don’t have an account, you’ll need to enroll ($99/year)
Step 2: Navigate to Keys Section
- In the left sidebar, click “Certificates, Identifiers & Profiles”
- Click “Keys” in the left sidebar
- You’ll see a list of existing keys (if any)
Step 3: Create New APNs Key
- Click the ”+” button (top left, next to “Keys”)
- You’ll see a form to create a new key
Step 4: Configure the Key
-
Key Name: Enter a descriptive name (e.g., “Sanctiv Push Notifications” or “Intercom APNs Key”)
- This is just for your reference
- Can be changed later if needed
-
Enable Services: Check the box for “Apple Push Notifications service (APNs)”
- ⚠️ Important: Only check APNs, don’t check other services unless needed
- Other services aren’t needed for push notifications
- Click “Continue” button
Step 5: Review and Register
- Review the key configuration
- Click “Register” button
- ⚠️ CRITICAL: You’ll see a confirmation screen
Step 6: Download the .p8 File
-
⚠️ IMPORTANT: You can only download the .p8 file ONCE
- After you leave this page, you cannot download it again
- If you lose it, you’ll need to create a new key
-
Click “Download” button
- The file will be named something like
AuthKey_XXXXXXXXXX.p8 - Save it somewhere safe (e.g., password manager, secure folder)
- The file will be named something like
- ⚠️ DO NOT CLOSE THIS PAGE YET - You need to copy the Key ID first!
Step 7: Copy Key ID
-
On the same page, you’ll see “Key ID”
- It looks like:
ABC123DEF4(10 characters, alphanumeric) - Copy this value - you’ll need it for Intercom
- It looks like:
- Save the Key ID somewhere safe (same place as the .p8 file)
Step 8: Get Your Team ID
- Look at the top right of the Apple Developer portal
-
You’ll see your Team ID (or click your name/team name)
- It looks like:
ABCD1234EF(10 characters, alphanumeric) - This is your Apple Developer Team ID
- It looks like:
- Save the Team ID somewhere safe
Step 9: Verify You Have Everything
Before leaving the Apple Developer portal, make sure you have:- ✅ .p8 file downloaded and saved securely
- ✅ Key ID copied (10 characters)
- ✅ Team ID copied (10 characters)
- ✅ Bundle ID (from your app:
com.sanctiv.app)
What You’ll Need for Intercom Dashboard
When configuring Intercom push notifications, you’ll need:- App name:
Sanctiv - Bundle ID:
com.sanctiv.app - .p8 file: Upload the downloaded file
- Key ID: Paste the 10-character Key ID
- Apple Team ID: Paste your Team ID
Security Best Practices
✅ DO:
- Store .p8 file in a password manager or secure vault
- Keep Key ID and Team ID with the .p8 file
- Use descriptive key names for easy identification
- Create separate keys for different apps/environments if needed
❌ DON’T:
- Commit .p8 file to git (it’s already in .gitignore)
- Share .p8 file publicly
- Delete the key from Apple Developer (you’ll lose access)
- Create multiple keys unnecessarily (you’re limited to a certain number)
Troubleshooting
”I lost my .p8 file”
- Solution: Create a new APNs key in Apple Developer portal
- Note: You’ll need to update Intercom with the new Key ID and upload the new .p8 file
- Prevention: Store in password manager or secure backup
”I can’t find my Team ID”
- Solution: Look at top right of Apple Developer portal, click your name/team
- Alternative: Check any existing certificates/keys - Team ID is shown there
”Key ID is missing”
- Solution: If you already closed the key creation page, check the Keys list
- The Key ID is shown in the list (but you can’t download .p8 again)
“I see multiple Team IDs”
- Solution: Use the Team ID associated with your app’s Bundle ID
- Check your app’s App Store Connect or Xcode project settings
Next Steps
After obtaining the .p8 file and credentials:- Go to Intercom Dashboard → Settings → Channels → Messenger → Install
- Scroll to “Setup push notifications” section
- Fill in the form with your credentials
- Upload the .p8 file
- Test push notifications
docs/dev/INTERCOM.md for complete Intercom setup instructions.