# How to obtain credentials for automatic screenshot upload to Apple App Store Connect

Source: https://help.appscreens.com/auto-upload/how-to-obtain-credentials-for-automatic-screenshot-upload-to-apple-app-store-connect

To upload screenshots to App Store Connect automatically with AppScreens, you’ll need an App Store Connect API key. Follow the steps below to create your key, add it to AppScreens and validate the connection.

For Google Play, see the [credentials for Google Play uploads](https://help.appscreens.com/auto-upload/how-to-obtain-credentials-for-automatic-screenshot-upload-to-google-play-console).

**Using an AI agent?** Your agent never handles your keys. It can open the right AppScreens page for you to add them, link a key you've already added to another app, and check the connection. Never paste your .p8 key into a chat.

See [Apple's guide to creating App Store Connect API keys](https://developer.apple.com/documentation/appstoreconnectapi/creating-api-keys-for-app-store-connect-api).

## Choose your API key type

Apple provides two types of App Store Connect API key. Choose the one that matches how you want to manage access.

| Key type | When to use it | Details you’ll need |
|---|---|---|
| **Team API Key (default)** | Use this for a connection managed by your team. For example, your team wants one screenshot-upload key that can access its apps. The key’s assigned role applies across all apps in the team. | A credential name, Key ID, Issuer ID and the `.p8` private key file. |
| **Individual API Key** | Use this when the connection should follow a particular user’s roles and app access. For example, a user who can access only one client’s app can create a key with that same app access. | A credential name, Key ID and the `.p8` private key file. Individual keys do not use an Issuer ID. |

A Team key cannot be restricted to one app. For access limited to selected apps, use an Individual key belonging to a user whose app access has been restricted.

## Stage 1 - Creating a key in App Store Connect

### Option 1: Create a Team API Key (default option)

1. Navigate to [App Store Connect](https://appstoreconnect.apple.com/login) and sign in. You must be the Account Holder or an Admin to create a Team API Key.
    
    ![](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/screenshot-2024-10-21-at-7-50-01-pm_1729504231.png)
2. Click **Users and Access**.
    
    ![](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/screenshot-2024-10-21-at-7-51-47-pm_1729504371.png)
3. Click the **Integrations** tab.
4. Select **App Store Connect API** in the side menu.
5. Select **Team Keys**
    
    ![](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/mceclip4_1729505598.png)
    
    If your team has not enabled API access, the Account Holder must request it first. In **Users and Access &gt; Integrations**, click **Request Access** and follow Apple’s instructions. Requests are reviewed by Apple.
    
    If you cannot create a Team key, check that you are signed in as the Account Holder or an Admin.
    
    [Apple’s API access instructions](https://developer.apple.com/help/app-store-connect/get-started/app-store-connect-api/). [See the full Apple documentation](https://developer.apple.com/documentation/appstoreconnectapi/creating-api-keys-for-app-store-connect-api).
6. Click **Generate API Key**. If your team already has an active key, click the **+** button instead.
7. Enter an API key name such as **AppScreens**. The name you use is for your reference only.
8. Under **Access**, choose either **Marketing** or **App Manager**. Either role works for uploading screenshots to an editable version of your App Store listing.
    
      
    **App Manager** also allows screenshot management, but grants broader permissions. For example, choose Marketing for a connection used to update screenshots; use App Manager when the key also needs app-management permissions, such as submitting an app version for review.
    
    Uploading screenshots and submitting an app version for review are separate actions. Apple requires Account Holder, Admin or App Manager permissions to [submit an app version](https://developer.apple.com/help/app-store-connect/manage-submissions-to-app-review/submit-an-app).
    
    Read more about [roles and permissions in App Store Connect](https://developer.apple.com/help/app-store-connect/reference/account-management/role-permissions).
    
    ![Screenshot 2026-11-18 at 1.33.57 pm.png](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1794972862_6afd1cbe7da00.png)
9. Click **Generate**.
10. Against the key you have just created, click **Download** to download the `.p8` API key file. You will upload this to AppScreens later.
    
    NOTE: The Key is available to download a single time. If the key becomes lost or compromised, remember to revoke it immediately. Store the downloaded file securely. Never send the private key in email, support messages or chat.
11. Against the same key, hover over **Key ID** and select **Copy Key ID**. Make a note of this as you will need it for configuration in AppScreens later.
    
    ![Screenshot 2026-11-18 at 1.36.44 pm.png](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1794973109_6afd1db57cea7.png)
12. Copy the **Issuer ID** shown on the Team Keys page. Make a note of this as you will need it for configuration in AppScreens later.
    
    ![](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/mceclip9_1729506641.png)

### Option 2: Create an Individual API Key

An Individual key uses the roles and app access of the user who creates it. Check that user’s access before generating the key.

#### If access should be limited to one app

Ask your Account Holder or an Admin to complete these steps:

1. Open **Users and Access** in App Store Connect.
2. Under **People**, select the user whose key will be used.
3. Under **Roles**, select either **Marketing** or **App Manager**. Either role works for uploading screenshots.
4. In the **Apps** section, click **Manage apps**.
5. Select only the app that this connection should access.
6. Check that the user has no other role or permission granting access to all apps.
7. Click **Save**.

Apple cannot restrict app access for users with Admin or Finance roles, access to reports, or access to Certificates, Identifiers &amp; Profiles. Giving a user Marketing access does not remove broader access they already have.

[Change a user’s role](https://developer.apple.com/help/app-store-connect/manage-your-team/add-and-edit-users). [Restrict access to apps](https://developer.apple.com/help/app-store-connect/manage-your-team/edit-access-to-apps/).

#### Generate the Individual key

1. Sign in to App Store Connect as the user whose permissions AppScreens should use.
2. Click your username in the top-right corner.
3. Choose **Edit Profile**.
4. Find the **Individual API Key** section.
5. Click **Generate Key**.
6. Copy the **Key ID**.
    
    ![Screenshot 2026-11-18 at 1.42.18 pm.png](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1794973475_6afd1f237c5a6.png)
7. Click **Download**.
8. Click **Download** in the confirmation dialog.
    
    ![Screenshot 2026-11-18 at 1.43.27 pm.png](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1794973514_6afd1f4ad51ca.png)

Individual keys do not use an Issuer ID. Apple allows the private key to be downloaded once, so store the `.p8` file securely.

**Can’t see Generate Key?** Each user can have one active Individual key. Check whether a key already exists. If it does not, ask your Account Holder or an Admin to check the **Generate Individual API Keys** permission in your user settings. [Apple’s Individual key instructions](https://developer.apple.com/help/app-store-connect/get-started/app-store-connect-api/).

---

## Stage 2 - Configure and validate in AppScreens

### Open your app

1. Go to [AppScreens](https://appscreens.com/) and ensure you’re logged in.
2. Select **Projects** from the top navigation bar.
3. For an existing app, click **Manage apps**.
4. Select your app from the list on the left. You can also open an app already shown in the Projects sidebar, select the **Connections** tab and click **Edit connections**, as shown below.
    
    ![The Connections tab on the Projects page with Test connections, App Store Connect and Google Play Console, and Edit connections](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1795503890-connections-tab-1795503890.png)
5. If you have not added your app, click **New app** on the Projects page instead.

### Add or check your app’s identifiers

If the existing app already has the correct **Apple bundle ID**, continue to “Add your credentials” below.

1. Enter your **App name**.
2. Then click the **search icon** beside **Apple bundle ID**.
3. Select the correct App Store listing from the results. If the app is not published yet, use **Create manually** and enter its **Apple bundle ID**.
    
    ![The Create app window with App name, brand colours, Apple bundle ID and Google Play package name](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1795499370-create-app-form-1795499370.png)
4. If your app is listed on both stores, you can select the other listing by clicking the search icon beside **Google Play package name** and selecting your app.
5. Click **Save**.

### Add your credentials

1. Click the **Credentials** tab to start adding your App Store Key.
    
    ![The Credentials tab with Add / update keys for App Store Connect and Google Play Console](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1795499371-app-credentials-tab-1795499371.png)
2. Against **App Store Connect**, click **Add / update keys**.
3. Under **API key type**, select **Team API Key** or **Individual API Key** to match the key you created in Stage 1.
4. Enter a name for your credentials, such as **\[Your App\] Apple Credentials**. Use the **Memorable Name** field.
5. In **Key Id**, enter the Key ID for the key you created in Stage 1.
6. For a **Team API Key**, enter its **Issuer ID**. For an **Individual API Key**, no Issuer ID is required.
7. Use the upload icon beside **Key (p8)** to choose the matching `.p8` file downloaded from Apple, or paste the contents of the file.
8. Enter the name of your App Store Connect team if you’re in multiple teams.
9. Click **Create credential**, then click **Yes** to confirm. The saved credential opens, showing its **Key hint**.
    
    ![The Create credentials window filled in with example values for an App Store Connect Team API Key](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1795503888-cred-apple-filled-1795503888.png)

### Validate and select your credentials

1. Choose your app under **Test with app**.
2. Click **Validate**.
    
    ![A saved App Store Connect credential with Test with app, Add, Validate, Delete key, Debug key scope and Select](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1795503888-cred-apple-saved-1795503888.png)
3. If validation fails, read the error information and follow the troubleshooting guidance below.
    
    ![A Validation Failed message with a Trace ID](https://cdn.eniston.com/bases/85b214cc-bbcc-4275-ac60-cd88d082b8b0/attachments/1795503889-cred-validation-failed-1795503889.png)
4. Click **Select**.
5. Ensure the validated credentials are selected against **App Store Connect**.
6. Click **Save**.

Successful validation confirms that AppScreens can sign in to App Store Connect and read the selected app. Apple checks permission to upload screenshots or create an app version when AppScreens attempts that action.

You’ll now be able to use AppScreens automatic App Store Upload from the **Upload to App Stores** tab in the **Export** window! 🚀

To check the connection at any time, open your app’s **Connections** tab on the Projects page and click **Test connections**.

Uploading screenshots does not submit your app version for review or release it on the App Store.

## What if my app has no editable version?

When you choose **Primary listing (Apple, automatic)**, AppScreens looks for an editable version of your main listing. If it cannot find one, it attempts to create the next version.

You can start the upload without creating an editable version yourself. AppScreens will attempt to create one if needed. If Apple refuses the request, follow the steps below to create the version manually and retry the upload:

1. Open **Apps** in App Store Connect.
2. Select your app.
3. Click **+** beside the relevant platform, such as **iOS**.
4. Enter the next App Store version number in the **New Version** dialog.
5. Click **Create**.

To retry the failed upload in AppScreens:

1. Click **Export** in the top bar and open **Upload to App Stores**.
2. Under **Action**, choose **Retry upload**, then start the upload again. Failed exports can also be retried from **Export History**.

If the **+** button is unavailable, check the current version’s status. Apple requires the current version to be **Ready for Distribution** before creating its successor.

Apple lists Marketing among the roles permitted to create app versions. A version-creation failure does not, by itself, mean you need App Manager access.

[Apple’s new-version instructions](https://developer.apple.com/help/app-store-connect/update-your-app/create-a-new-version/).

## Connection and access problems

### Validation fails

Check the following:

- The Key ID and `.p8` file belong to the same key.
- For a Team key, the Issuer ID matches the team that created it.
- For an Individual key, the user has access to the selected app and the required role.
- The key has not been revoked.
- If Apple reports an outstanding agreement, ask your Account Holder to review it.

### Some upload destinations are missing

If AppScreens reports that it could not retrieve all Custom Product Pages or Product Page Optimization treatments, check the connection’s permissions before creating another destination. An incomplete list does not mean that the missing pages or treatments do not exist.

### Get help with an error

1. Copy the error message and the **Trace** ID shown with it.
2. Contact AppScreens Support using **Chat with Us** from the **?** menu in the top bar, and include those error details.

Enter your `.p8` private key only in the AppScreens credential form. Never paste or attach it in email, support messages or AI chats.
