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

# Apple Maps Server API - How do I link my account?

## Overview

To connect with the Apple Maps Server API, you need:

1. **Private Key** - the Maps private key (`.p8` file) you download from your Apple Developer account.
2. **Key ID** - the 10-character identifier of that private key.
3. **Team ID** - the 10-character identifier of your Apple Developer team.

## Prerequisites

* An [Apple Developer Program](https://developer.apple.com/programs/enroll/) membership (99 USD per membership year). Maps IDs and private keys are only available to members.

## Instructions

### Step 1: Create a Maps ID

1. Go to [developer.apple.com/account](https://developer.apple.com/account) and sign in with your Apple Developer credentials.
2. Under **Certificates, Identifiers & Profiles**, click **Identifiers**, then click the add (**+**) button.
3. Select **Maps IDs** and click **Continue**.
4. Enter a description and an identifier that starts with `maps.`, such as `maps.com.mycompany.mywebsite`.
5. Click **Continue**, then **Register**.

### Step 2: Create a private key

1. Click **Keys** in the sidebar, then click the add (**+**) button.
2. Under **Key Name**, enter a unique name for the key and tick **MapKit JS**.
3. Click **Configure**, choose the Maps ID you created in step 1, and click **Save**.
4. Click **Continue**, review the key configuration, and click **Register**.
5. Click **Download** to save the private key (`.p8` file). You can download it only once, so store it securely.
6. 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 as `DEF123GHIJ`.

### Step 4: Enter your credentials in the Connect UI

1. Open the form where you need to authenticate with the Apple Maps Server API.
2. Open the `.p8` file in a text editor and paste its full contents into **Private Key**.
3. Enter your **Key ID** and **Team ID**.
4. Click **Connect**. Nango uses your credentials to request a Maps access token from Apple, so wrong credentials are rejected.

![Nango Connect UI form for entering Apple Maps Server API credentials](https://mintcdn.com/nango/2ZM1wSF8ADkgkSEA/api-integrations/apple-maps/form.png?fit=max\&auto=format\&n=2ZM1wSF8ADkgkSEA\&q=85\&s=6d55c0cdff5d09c103e6cc436cf3c470)

You are now connected to the Apple Maps Server API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.