> For the complete documentation index, see [llms.txt](https://docs.getupdraft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getupdraft.com/dashboard/account/developer-accounts/app-store-connect-api.md).

# App Store Connect API

{% hint style="info" %}
This feature will be available soon
{% endhint %}

With Updraft you can distribute your iOS builds to TestFlight easily. To make this possible, you need to add an Apple Connect Key to your project.&#x20;

#### **Requirements:**

* Be an Admin or Account Holder on the App Store Connect website
* Be an Owner of the Project on Updraft

### Create a App Store Connect API Key

1. Log in to [App Store Connect](https://appstoreconnect.apple.com/)
2. **Check if the correct Team is selected in the top right corner**&#x20;
3. Select *Users and Access*.<br>

   <figure><img src="/files/57tcOm89xZqXOgLUXjzg" alt=""><figcaption></figcaption></figure>
4. Go to the *Integrations* tab.
5. Click on the Add (**+**) button.
6. Enter a name for the key. The name is for your reference only and is not part of the key itself.
7. Under *Access*, select the **role for the key**. The roles that apply to keys are the same roles that apply to users on your team.
8. Click *Generate*. The new key’s name, key ID, a download link, and other information appears on the page.
9. **Download and Store the Private Key**.&#x20;

{% hint style="warning" %}
The private key is available for download **only once**. Apple does not keep a copy of the private key. Store your private key in a safe place!
{% endhint %}

### Add the API Key to Updraft

1. Login with an Owner Account on [Updraft](https://u2.getupdraft.com/login)
2. Go to the *Profile* section on the left and then *Developer Accounts*<br>

   <figure><img src="/files/SrMUOvNOgtkbZGpNBnUg" alt=""><figcaption><p>The Integrations tab under Profile > Developer Accounts</p></figcaption></figure>
3. Now click on *App Store Connect API* under *new Integration*
4. Upload your **.p8** file which you just downloaded from the [App Store Connect page](https://appstoreconnect.apple.com/access/integrations/api)
5. Insert the Key Name, Issuer ID and Key ID from the [same App Store Connect page](https://appstoreconnect.apple.com/access/integrations/api)
6. Press Save

That's it, well done!&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.getupdraft.com/dashboard/account/developer-accounts/app-store-connect-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
