# Appleでサインイン

{% tabs %}
{% tab title="詳細ガイド" %}

#### 1) Adalo MarketplaceからSign in with Appleコンポーネントをインストールする

1. Adaloの左ツールバーにあるプラスボタンをクリックします
2. 下にスクロールしてExplore Marketplaceボタンをクリックします
3. MarketplaceでSign in with Appleコンポーネントを見つけてインストールボタンをクリックします

#### 2) Sign UpとLogin画面にSign in with Appleコンポーネントを追加する

1. Adaloの左ツールバーにあるプラスボタンをクリックします
2. Sign in with Appleコンポーネントを検索します
3. コンポーネントをSign In画面にドラッグアンドドロップします（Login画面にも同様に行います）
4. 以下の手順に従ってコンポーネントを設定します：

#### 3) Apple Bundle ID

#### Bundle IDを持っている場合：

1. [Apple DeveloperアカウントにサインインしてIdentifiersに移動](https://developer.apple.com/account/resources/identifiers/list/bundleId)
2. App IDをクリックします
3. 下にスクロールしてSign In with Appleをチェックし、「Save」をクリックします

![](/files/SjAZ2iFElHHaNE24jgbl)

#### Bundle IDを持っていない場合：

まだの場合は、[Apple App Storeへの公開](/ja/testing-your-app/publishing-to-the-apple-app-store.md)ガイドの最初の3つの手順に従ってください

1. 1. [Apple Developerアカウントを作成する](/ja/testing-your-app/publishing-to-the-apple-app-store/create-your-apple-developer-account.md)
   2. [Apple Developerアカウントの年間支払いを設定する](/ja/testing-your-app/publishing-to-the-apple-app-store/setup-annual-payment-for-your-apple-developer-account.md)
   3. [Apple Bundle Idを作成する](/ja/testing-your-app/publishing-to-the-apple-app-store/create-your-apple-bundle-id.md)
      1. このガイドの手順1から10に従います。
      2. Capabilitiesステップで"Push Notifications"を選択した後、Sign in with Appleの横にあるチェックボックスを選択してプライマリApp IDとして有効にします
      3. Bundle IDを登録するためにクリックします

{% hint style="info" %}
注意：iOS以外のWebやAndroidにアプリを公開する場合でも、Apple DeveloperアカウントでアプリのためのBundle IDを作成する必要があります。複数のプラットフォームにアプリを公開する場合は、1つのBundle IDを作成するだけで済みます。
{% endhint %}

#### 4) AppleとのアプリのためのService IDを作成する

1. <https://developer.apple.com/account/resources/identifiers/add/bundleId>にアクセスします
2. Services IDsを選択します
3. 続行をクリックします

![](/files/FYogHsfie5hMKBvg3Jvh)

4\. "My Trip App"などのService IDの説明（または名前）とmytripapp.clientなどのサービスのための一意の識別子を入力し、「続行」をクリックします

![](/files/5s6wPcatiBrjQtg2skuO)

5\. 登録をクリックします

![](/files/j4gBw7Rl1bZTMr3pgU4q)

6\. これで、Apple DeveloperアカウントのIdentifiersリストで、さっき作成したIdentifierをクリックしてさらに編集します。

![](/files/oCeiakR5JNeXmxenPbPc) 7. 名前と説明の下に、Appleでサインインするボックスの横にチェックを入れ、次に「Configure」ボタンをクリックします。

![](/files/WYBsPHm7V42k8Cfm9KPJ)

8\. モーダル内で、アプリがプライマリApp IDとして選択されていることを確認してください。次に、少なくとも2つの値を入力する必要があります:

* 「Domains and Subdomains」ボックスに "previewer.adalo.com" を入力
* 「Return URLs」ボックスに "<https://previewer.adalo.com>" を入力

カスタムドメインを使用している場合は、それらもリストに追加する必要があります:

* 「Domains and Subdomains」ボックスにアプリのカスタムURLを入力します（例: app.yoursite.com）
* 「Return URLs」ボックスにアプリのカスタムURLを入力します（例: <https://app.yoursite.com）>

{% hint style="info" %}
プライマリApp IDフィールドにアプリが表示されない場合は、[Bundle IDの設定](https://developer.apple.com/account/resources/identifiers/list/bundleId)に戻って、Sign In with Apple Capabilityを追加してください（ステップ3を参照）。
{% endhint %}

![](/files/JZ2jxXZRPsyUcwBDqA10)

9\. 「Next」をクリックしてService IDの設定を完了し、次に「Done」、その後「Continue」、最後に「Save」をクリックします（警告を無視します）

{% hint style="info" %}
**注意:** Appleはユーザーがアプリからのメールを見えなくすることを許可しています。つまり、ユーザーが選択した場合、実際のメールアドレスを見ることができません。Apple Sign-in経由でサインアップしたユーザーからメーリングリストにメールアドレスを収集したり、トランザクションメールを送信する場合は、次の2つのことを行う必要があります:

1. SendGrid、Mailerlite、Postmark、Mailchimpなどのメールサービスからカスタムドメインからメールを送信する設定を行います。
2. Appleに、ユーザーがどのドメインとメールアドレスからメールを受け取るかを伝える必要があります。これを行うには、<https://developer.apple.com/account/resources/services/list>にアクセスし、ドメインとメールアドレスを構成します。

<img src="/files/Yp1IRZlWyDNUIth5SuxG" alt="" data-size="original">
{% endhint %}

#### 5) Adaloのコンポーネント設定にService Idを入力します

![](/files/CngIxy9i0wOr1cUBhjxB)

#### 6) ボタンスタイルをカスタマイズし、リンクアクションを追加します

![](/files/D85cMZXxJkrCLzDtIun5)
{% endtab %}
{% endtabs %}

### 詳細情報

* フルネームは初回のユーザーサインアップ時にのみ送信されます。同じアカウントを使用してSign In with Appleでアプリに再ログインする場合、ユーザー情報は共有されません。

## ヘルプ

この記事に関する追加のヘルプが必要な場合は、いつでも[コミュニティフォーラム](https://forum.adalo.com/)で質問できます！投稿にこの記事へのリンクを貼り付けることも忘れずに！


---

# 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://help.adalo.com/ja/component-basics/marketplace-components/sign-in-with-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.
