Step-by-step
Step 1: Generate an API key in App Store Connect
- Go to App Store Connect → Users and Access → Integrations → API Keys
- Click the + button to generate a new key.
- Give the key a name (for example, “Median”) and assign it the App Manager role at minimum. Admin access also works, but App Manager is sufficient and follows the principle of least privilege.
- Click Generate.

App Store Connect API keys
- Issuer ID (shown at the top of the API Keys page)
- Key ID (shown in the key’s row in the table)
- The downloaded
.p8private key file
Step 2: Connect the key to Median
- In App Studio, open the Build & Deploy tab for your app and click Configure in the iOS IPA section.
- In the Apple Developer API Connection section: Enter the Issuer ID and Key ID, and upload your Private Key (.p8) file. All of those can be obtained in Step 1.
- Click Connect.

Connected Apple Developer API
- In the Bundle ID & App Store Connect App section:
- Register the Bundle ID for your app within your Apple Developer account. You can also register your Bundle ID automatically through the API connection.
- Create an App Store Connect app record for your app. This step can’t be completed through the API and must be done manually in App Store Connect.

Registered Bundle ID
- In the Signing & Upload Settings section, select Distribution Profile and set Upload to App Store Connect to Automatic. This is the recommended setting for TestFlight and App Store submission. Profile overview A Development build/profile is limited to devices you’ve explicitly registered as testers and is meant for direct installs outside App Store Connect. A Distribution build/profile is required for TestFlight and App Store releases. You choose between these in the Signing & Upload Settings section covered in Configure signing for your app.
- Each time you build a new iOS IPA, it will be automatically uploaded. If Manual is selected, you can press the Upload button after the build completes.
Prefer not to use an API key?
If you’re unable or unwilling to generate an App Store Connect API key, you can sign builds manually instead by uploading your own distribution certificate and provisioning profile. See Option 2: Upload your own signing assets in Configure signing for your app.Next step
Continue with Register testing devices →Frequently asked questions
What's the difference between an Individual and a Team API key?
What's the difference between an Individual and a Team API key?
A Team key is scoped to your whole Apple Developer organization account and is the correct choice for most setups. An Individual key is tied to a single personal Apple ID and can cause permission errors mid-build if that person’s access changes — use a Team key whenever your account is an organization account.
I closed the dialog before downloading my .p8 file - how can I retrieve it?
I closed the dialog before downloading my .p8 file - how can I retrieve it?
Apple only allows the private key to be downloaded once. Go back to Users and Access → Integrations → API Keys, revoke the key you just created, and generate a new one, making sure to download the .p8 file before closing the dialog.
Can I disconnect App Store Connect later?
Can I disconnect App Store Connect later?
Yes. Click Disconnect on the Apple Developer API Connection card in Median, or revoke the key directly from App Store Connect. Builds you’ve already produced aren’t affected, but you’ll need to reconnect before starting new automatic builds or uploads.
Does this connection apply to one app or my whole organization?
Does this connection apply to one app or my whole organization?
It’s organization-wide. Once connected, every app in your Median organization can use this same key for signing and uploads and you don’t need to repeat this setup per app.