Overview
To connect with the Apple Maps Server API, you need:- Private Key - the Maps private key (
.p8file) you download from your Apple Developer account. - Key ID - the 10-character identifier of that private key.
- Team ID - the 10-character identifier of your Apple Developer team.
Prerequisites
- An Apple Developer Program membership (99 USD per membership year). Maps IDs and private keys are only available to members.
Instructions
Step 1: Create a Maps ID
- Go to developer.apple.com/account and sign in with your Apple Developer credentials.
- Under Certificates, Identifiers & Profiles, click Identifiers, then click the add (+) button.
- Select Maps IDs and click Continue.
- Enter a description and an identifier that starts with
maps., such asmaps.com.mycompany.mywebsite. - Click Continue, then Register.
Step 2: Create a private key
- Click Keys in the sidebar, then click the add (+) button.
- Under Key Name, enter a unique name for the key and tick MapKit JS.
- Click Configure, choose the Maps ID you created in step 1, and click Save.
- Click Continue, review the key configuration, and click Register.
- Click Download to save the private key (
.p8file). You can download it only once, so store it securely. - Copy the 10-character Key ID shown for the key, such as
ABC123DEFG.
Step 3: Find your Team ID
Click Membership in the sidebar of your Apple Developer account and copy your 10-character Team ID, such asDEF123GHIJ.
Step 4: Enter your credentials in the Connect UI
- Open the form where you need to authenticate with the Apple Maps Server API.
- Open the
.p8file in a text editor and paste its full contents into Private Key. - Enter your Key ID and Team ID.
- Click Connect. Nango uses your credentials to request a Maps access token from Apple, so wrong credentials are rejected.
