> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloud.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Apollo

export const title_0 = "Apollo";

## Prerequisites

Before you can add the connection, you need to register an OAuth application with Apollo:

<Steps>
  <Step>
    Log in to your Apollo account and go to **Settings** > **Integrations**.
  </Step>

  <Step>
    Locate the **API** option and click **Connect**.
  </Step>

  <Step>
    Click **OAuth registration** to open the registration form.
  </Step>

  <Step>
    Complete the required fields:

    * **App Name**–the name of your app or product.
    * **App Logo**–(optional) an image to display in the authorization prompt.
    * **OAuth Redirect URL**–set this to *[https://oauth.cdata.com/oauth/](https://oauth.cdata.com/oauth/)*.
    * **Scopes**–select the permissions your app needs. Apollo automatically includes `read_user_profile` and `app_scopes`.
  </Step>

  <Step>
    Click **Submit** to register the app.
  </Step>
</Steps>

After registration, Apollo displays the **Client Id** and **Client Secret**. Make note of these values, since the Client Secret is only shown once.

## Setup Guide

Follow these steps to connect Apollo to your Connect AI account:

<Steps>
  <Step>
    Open the **Sources** page of the Connect AI navigation menu.
  </Step>

  <Step>
    Click **+ Add Connection** in the upper-right corner.
  </Step>

  <Step>
    Type *Apollo* into the search field, then click the data source name.
  </Step>

  <Step>
    On the **Basic Settings** tab of the new connection, enter a connection name or keep the default name.
  </Step>

  <Step>
    In Connect AI, enter the **OAuth Client Id** and **OAuth Client Secret** obtained from Apollo.
  </Step>

  <Step>
    Click **Sign in** to connect securely through OAuth. This action opens the Apollo sign-in page in a new tab.
  </Step>

  <Step>
    Log in to your Apollo account and provide the requested permissions (if applicable).
  </Step>

  <Step>
    Connect AI **Add {title_0} Connection** ページ上部の、**Save & Test** をクリックします。

    * 接続テストに成功すると、コネクションが作成されたことを示す**Connection successfully saved** というメッセージが表示されます。**Edit Connection** ページの**Status** も**Authenticated** に変わります。**Edit Connection** ページの右ペインにある**Data Model** タブで、成功したコネクションのデータモデルを表示します。
    * 接続テストに失敗した場合は、入力したログイン情報に余分なスペースや文字がないかを確認してください。Connect AI は、データが不足している必須フィールドの下にエラーメッセージを表示します。一部のデータソースでは、ソースのWeb サイトに直接サインインする必要があります。サインインしていない場合は、**Sign in** ボタンの下にエラーメッセージが表示されます。エラーを修正し、もう一度試してください。
    * 失敗したコネクションは下書きとして保存され、**Status** は**Not Authenticated** になります。後でコネクションに戻って認証することができます。
  </Step>
</Steps>
