# 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2F4Zad5ZljZrYln66QZiC1%2Fimage.png?alt=media&#x26;token=e887c3ce-2fe1-422b-991d-624339313153" 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FNoidkzI96gzyRicV1Chl%2Fimage.png?alt=media&#x26;token=5f14f341-633b-4a81-ad1b-be1401b47ad1" 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FmRNuZGNw2KcEe3H7dAPV%2Fimage.png?alt=media&#x26;token=ae623647-83fa-43a3-bcf5-4d36a2129aa4" 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="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2Fm3gNsRb3HvhIqi8uOtXC%2Fimage.png?alt=media&#x26;token=32eed1a0-f9c7-4db8-ab3f-501ab6bc66e3" alt=""><figcaption></figcaption></figure>
