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

# App Store Connect

> Connect App Store Connect so AppDNA can read and update your iOS app metadata and screenshots — create an API key, then upload it.

## Overview

Connecting App Store Connect lets AppDNA read and update your iOS apps' metadata, localizations and screenshots.

The connection uses an **App Store Connect API key** (a `.p8` file plus two identifiers). Apple shows the key file
**only once**, so have it ready before you start.

## Step 1 — Create an API key (App Store Connect)

You need the **Account Holder** or an **Admin** role to create team keys.

1. Open [appstoreconnect.apple.com](https://appstoreconnect.apple.com) → **Users and Access → Integrations**.
2. Choose **App Store Connect API → Team Keys**.
   * The first time, the Account Holder has to click **Request Access** and accept the terms.
3. Click **Generate API Key** (or the **+** button).
   * **Name:** for example `AppDNA`.
   * **Access:** **App Manager**. It can edit app metadata and screenshots; a lower role can read but not write.
4. Click **Generate**, then **Download API Key**. A file named `AuthKey_<KEY_ID>.p8` downloads. **Apple lets you
   download it once.** If you lose it, revoke the key and create a new one.
5. Note the two identifiers on the same page:
   * **Key ID**: in the key's row (10 characters, also in the file name);
   * **Issuer ID**: shown above the list of keys (a UUID).

## Step 2 — Connect in AppDNA

1. In AppDNA, open **Integrations** and choose **App Store Connect → Connect**.
2. Enter the **Key ID** and **Issuer ID**, and upload the **`.p8` file**.
3. Click **Connect**.

AppDNA runs a connection test that lists one of your apps. Nothing is changed.

Then pick the app in **ASO → Setup**, where its App Store Connect app appears once the connection is live.

## Troubleshooting

| Message | Cause | Fix |
| - | - | - |
| **API returned status 401** | The Key ID, Issuer ID and `.p8` file don't belong together, or the key was revoked. | Check both IDs on the Team Keys page against the file name (`AuthKey_<KEY_ID>.p8`); if the key was revoked, create a new one. |
| **API returned status 403** | The key's role is too low for what was asked. | Create a key with **App Manager** access. |
| Your app is missing in ASO → Setup | The app belongs to a different App Store Connect team than the key. | Create the key in the team that owns the app. |

## Security

* The `.p8` key is stored encrypted and is never shown again in AppDNA.
* To revoke access, open **Users and Access → Integrations → Team Keys** and revoke the key.


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