# Apple Configuration

To enable the button's functionality in your store, you need first to **obtain Apple developer account from** [**https://developer.apple.com**](https://developer.apple.com)

Sign in to your created Apple account and copy the **team ID, services ID, key ID, and key value**.

If you do not have an Apple account, create one and then copy the above-mentioned IDs and the key value.

### <mark style="color:blue;">**Create a Sign In with Apple App**</mark>

As you know, only one entity's account can be created with Apple. To begin with the process, **Create a services identifier.**

#### <mark style="color:blue;">**1. Create a service Identifier**</mark>

To create an app for use with Sign in with Apple, you must start by creating an app identifier. To do that, complete the following steps:

<mark style="color:blue;">**Step #1**</mark>

Log on to the Apple Developer site **(**[**https://developer.apple.com**](https://developer.apple.com/)**)** using your Apple Developer Program account.

{% hint style="danger" %}
**Remember**

The free developer account does not provide access to the resources needed to create an app.
{% endhint %}

<mark style="color:blue;">**Step #2**</mark>

After logging on, click Account in the upper right corner of the screen.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeM-IZ-BQJnY7CDCZ_yX2yw3x8DUe9HAa89GfkCoPuQMTtMW68F14mR7ZojNDT6wYAA-GHmsZUQLyUQuIbFo7c__mYjcFpZexdwmZuHd5M3kGiIwCseH8J3AAdL79sRY1YOJ51lSw?key=Kb-8DTkJQiwUHUcBTKKPbQJU" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #3**</mark>

Go to **Certificates, IDs & Profiles** from the Account page

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeqOnaiTHl79SMxLlqhWEqnMH_EsixVOg79isz7aXMA5sd1--W0VZZoig_sEBkWOkrm2eznB8stosc5gO7O7vBLtbyZJxZ2qRHHsvAinmjTo2OQ0N-3ReysJe7gBl4VxobYLCN1BQ?key=Kb-8DTkJQiwUHUcBTKKPbQJU" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #4**</mark>

Go to **Identifiers** on the Certificates, Identifiers & Profiles page

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdYCyMYBmLY5jzO6W5MHT00kBJribiZClzVjo2F2ZNBuId3sjYReixygGQJC8oT-g3ab-5gCglsz7WMl5P8QGqWjkQV02pXNE4yD_mDsIhNf77fWhqaPe1mR96GA8ot6HYHVRcPjw?key=Kb-8DTkJQiwUHUcBTKKPbQJU" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #5**</mark>

Select the **+** sign to create a new identifier.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeAwfDDy6HoDrKxL7g-oUttAf826WJNBlF6whf6gGL9kb2Ze0NlZVwYxFi7mJCzPPM3Y8mALLfKxw1vLaXRb4rslbv1DGLQ9FSdl0YjrFUGgUCb-nYS6dQO6_XG-4xDzJO8Aknusw?key=Kb-8DTkJQiwUHUcBTKKPbQJU" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #6**</mark>

Click on the **Service IDs** and then select to **Continue**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdWUr4XFm-Dc63Vmr3l5bfGmAQtNttyJaRJz1ae10-Y2W4wxylkjrTiIqez4OdbFfDLREmxNVYKkyRsVrz8DKdYQIVSnEgGNFvjwSiQQWJUUV2cN5y58ldLM-0ssauP3P7ECoAxNw?key=Kb-8DTkJQiwUHUcBTKKPbQJU" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #7**</mark>

Fill out the following fields given on the Services ID form

* **Description -** Add the description for the app.
* **Identifier -** Create an Identifier name that will be used as Apple Identifier for Apple login

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

Click the Continue button, and you will be presented with a preview page.\
\ <mark style="color:blue;">**Step #8**</mark>

Select the row in the list for the **Service Identifier** that you have just created to edit the configurations.

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

<mark style="color:blue;">**Step #9**</mark>

On the Edit page, check the box (under ENABLED column) Sign In with Apple. Then click Configure button.

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

<mark style="color:blue;">**Step #10**</mark>

Fill out the following fields given in the **Web Authentication Configuration** form.

* **ID -** Select the App Identifier that you have created previously.
* **Domains & Subdomains -** Enter your store URL **without** the https value.
* **Return URLs -** Enter your store URL **with** the https value.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeinrzM5qNZ-dE4ls7Wy5RXhBmDez123C-t2knm1uzdBwLY0beXLV0u51NJj8fLtIJ9r4-8zCcbHlnwLumfKBtL2Tc01t40GSv81aBkakQrqMjOwuvrvvr5O0rBPuNh2uqmfYYX6g?key=Kb-8DTkJQiwUHUcBTKKPbQJU" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #11**</mark>

Head back to the Edit page, and select the **Save** button to persist the changes.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdKwkw6yjHL9xWXUor2qoVPHbPNZwvQ83Lgbk1gSqtys5ayNwjdRcvafQXj5ZayMKAw4YZiw9zekSUa1uwQrbXuzCle33zcsgt8Epyrug8HwtHQSJAXqKVIFwssIVSRCKFQXo1zOA?key=Kb-8DTkJQiwUHUcBTKKPbQJU" alt=""><figcaption></figcaption></figure>

<mark style="color:blue;">**Step #12**</mark>

&#x20;Reaching the last step, copy the **Identifier** and use it in our HOOK Social Login app.

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


---

# 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://magecomp.gitbook.io/shopify/apps/hook-social-login/configuration/apple-configuration.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.
