> ## 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.

# APOS

## 前提条件

データソースを Connect AI アカウントに接続する必要があります。詳細については、[ソース](/ja/Sources) を参照してください。

## Connect AI への接続

APOS から Connect AI Virtual SQL Server API への接続を確立するには、以下の手順に従ってください。

<Steps>
  <Step>
    APOS Live Data Gateway Manager にログインします。
  </Step>

  <Step>
    APOS Live Data Gateway Manager で **Add** をクリックします。

    <Frame>
      <img src="https://mintcdn.com/cdata/0o_7a3Hya0sbnsUJ/ja/images/apos_client.png?fit=max&auto=format&n=0o_7a3Hya0sbnsUJ&q=85&s=93b690c0fec897e01d709ac2bfde2426" alt="APOS クライアント" width="644" height="697" data-path="ja/images/apos_client.png" />
    </Frame>
  </Step>

  <Step>
    表示されるダイアログの **Connection** タブに接続情報を入力します。

    * **Data source**—**Database** を選択します
    * **Database**—**JDBC Generic** を選択します
    * **Connection String**—以下の形式で接続文字列を入力します。databaseName は Connect AI で設定済みのコネクション名です: `jdbc:sqlserver://tds.cdata.com:14333;databaseName=MyConnectionName;`
    * **Driver Class**—`com.CData.connect.Driver` に設定します（デフォルトで設定されているはずです）
  </Step>

  <Step>
    **Test Connection** をクリックします。
  </Step>

  <Step>
    **Save** をクリックし、接続に一意のプレフィックスを付けます。
  </Step>
</Steps>

接続が作成されると、**Available Connection** テーブルに表示されます。これを使用して、APOS Live Data Gateway Web UI でセマンティックレイヤービューを作成できます。
