# App Store Connect API

## Connect Your Apple Developer Account

To build and sign your desktop app for the Mac App Store, Deskifier needs permission to communicate with Apple on your behalf. This is done securely using the App Store Connect API.

1. Log in to [App Store Connect](https://appstoreconnect.apple.com/).
2. Click on the Users and Access icon.

<figure><img src="/files/fLe3s7xMJkHpUntZOP86" alt=""><figcaption></figcaption></figure>

3. Navigate to Integrations

<figure><img src="/files/RKJFK9pjo1kdgbFb5qTY" alt=""><figcaption></figcaption></figure>

4. Click "Generate API Key", enter a name for your API key & set the access level to "Admin"

<figure><img src="/files/CujG7NROV29W1AmYExDG" alt=""><figcaption></figcaption></figure>

4. Once the key is generated, you will see it listed in the table.&#x20;
5. You need to copy/download three specific items to paste into the Deskifier dashboard:

* Issuer ID: Found at the top of the page.
* Key ID: Found in the table next to your new key.
* Private Key (.p8 file): Click the Download API Key link in the table.

<figure><img src="/files/ezoY7W2geFX8PaETXjOO" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Security Note**\
\
Deskifier uses these credentials solely to automate the code-signing process required by Apple. Your `.p8` key is encrypted at rest and is never shared with third parties. You can revoke this key at any time from your Apple Developer dashboard to instantly cut off Deskifier's access.
{% endhint %}

***

### Part 2

If you're building an app for the Mac App Store, continue following these steps.&#x20;


---

# Agent Instructions: 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:

```
GET https://deskifier.gitbook.io/deskifier/publishing-and-code-signing/app-store-connect-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
