# Apple

### Create app registration

* Sign in to Apple member center​
* Go to certificated, identifiers & profiles​
* Go to identifiers and click the add (+) button​
* Select the option Services ID’s​
* Enter a name, this name wil be shown to the users when signing in to the application​
* Enter an identifier, this can be similar to the package name of the app​
* Click continue and then click register​​

### Set domains and URL'S​

* Click on the newly created identifier​
* Enable Sign in with Apple​
* Click configure​
* Select a primary App ID​
* Add one or more domains​
* Add a return URI with the following format​
  * Https\://{yourURL}/AppsService/signin-apple​
  * Https\://{yourURL}/Platform/signin-apple​
  * Https\://{yourURL}/Apps/signin-apple​
* Click next​
* Click done​
* Click continue and then click save​

### Create a private key​

* Go to Keys​
* Create a new key and give the key a name​
* Check “Sign in with Apple” and select configure​
* Select an app and click save​
* Click continue and then click register​
* Download the p8 file and make sure to store it somewhere safe

### Setting the settings

* Sign in to the Any2Info platform and go to Settings​
* Click on the group Authorization and select “Apple SSO”​
* For the client id fill the identifier of the created identity, sample:​\
  com.sso.any2info​
* In the AppleTeamCountId fill the ID of your Apple developer team​
* Open the .p8 file with notepad and copy the text between “BEGIN PRIVATE KEY” and “END PRIVATE KEY” make sure you remove the spaces
* Enable the EnableAppleSSO setting
* Save the settings​

### Connect Apple id to the user​s

* For each user that should be able to sign in to the platform/app using Apple make sure the SSO username is filled, this should be the username of the Apple account.


---

# 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://academy.any2info.com/any2info-academy/no-code-platform/platform/settings/apple.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.
