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

# クイックスタートガイド

> Connect AI Embed is a way for customers to integrate Connect AI live data access capabilities for their end users within their own applications.

Connect AI Embed アカウントにご興味がある場合は、CData セールスまでお問い合わせください。

Connect AI Embed は、2レベルのアカウント構造を使用します：

* **Parent Account**—CData がお客様の組織のために作成します。ISV として、Parent Account を使用して、Connect AI Embed インターフェースまたはAPI を介してSub-Account の作成、表示、モニタリングを含む、Connect AI Embed のデプロイメント全体を管理します。
* **Sub-Account**—お客様の各顧客に対して1つのSub-Account が作成されます。Sub-Account 内で、エンドユーザーはデータソースに接続し、データをクエリできます。付与したアクセス権限により、各エンドユーザーが作成、編集、または削除できる内容が決まります。

Connect AI Embed の**Accounts** ページには、参考用にSub-Account 名、external Id、およびaccount Ids が含まれています。

![](https://mintcdn.com/cdata/HOeYFcOXFWrs5HMW/ja/images/powered_by_cdata_accounts.png?fit=max\&auto=format\&n=HOeYFcOXFWrs5HMW\&q=85\&s=7dc9c7ad2a8aebd52ecf818ce542d566)

編集アイコンをクリックして、アカウント名またはexternal Id を変更します。
削除アイコンをクリックして、Sub-Account を削除します。

## Connect AI Embed クイックスタート

以下は、Connect AI Embed を設定する概要です。主に5つのステップがあります。

### ステップ1：Parent Account の作成

**Step 1**

CData は、お客様用にParent Account を設定し、アカウント名とaccount Id を含むアカウント情報をお送りします。

**Step 2**

Connect AI Embed のParent Account の管理者は、秘密鍵とそれに対応する公開鍵で構成される [JSON Web Token（JWT）を作成します](https://docs.cloud.cdata.com/ja/API/Authentication-Embedded.md)。秘密鍵は、Connect AI Embed と統合される製品のセキュリティ要件に従って保管する必要があります。

**Step 3**

管理者は、管理アカウントを登録するために、Privacy-Enhanced Mail（PEM）形式の公開鍵証明書を提供します。Connect AI のサポートチケットを開くことで公開鍵を登録できます。

**Step 4**

登録されると、Parent Account の管理者はアカウントにサインインできます。利用規約に同意してください。

**Step 5**

Parent Account の管理者がSub-Account を作成および管理します。

### ステップ2：Sub-Account の作成

Parent Account を作成したら、次の2つの方法のいずれかでSub-Account を作成できます：

* **Accounts** ページで **+Add account** をクリックします。Sub-Account の**Account Name** および**External ID** を入力し、**Confirm** をクリックします。

* [Connect AI Embed API](https://docs.cloud.cdata.com/ja/API/REST-API-Embedded.md) の [Create Account](https://docs.cloud.cdata.com/ja/API/Account-API.md) を使用してSub-Account を作成します。[Parent Account の作成](#ステップ1parent-account-の作成) で作成したJWT と、Sub-Account のExternal ID を指定する必要があります。

### ステップ3：コネクション設定の構成（オプション）

Connect AI Embed では、Sub-Account 全体でコネクション設定を一元的に構成する2つの方法を提供します。

* Connection Overrides：Parent Account レベルでコネクション設定を一度構成し、すべてのSub-Account に自動的にプッシュします。これにより、スケール時のテナントごとのメンテナンスが不要になります。構成手順については、**Settings** ドキュメントの [Sources](https://docs.cloud.cdata.com/ja/Settings-Embedded.md#sources) セクションを参照してください。
* Branded OAuth Apps：データソースプロバイダーに独自のOAuth アプリケーションを登録し、お客様の顧客がCData ではなく自社のブランドで認証できるようにします。Sub-Account ユーザーがSalesforce または他のOAuth ソースに接続すると、CData ではなく自社のアプリケーション名が表示されます。構成手順については、**Settings** ドキュメントの [Sources](https://docs.cloud.cdata.com/ja/Settings-Embedded.md#sources) セクションを参照してください。

以下に説明する既存のCustom Overrides 機能も、他のコネクションプロパティのオーバーライドのために引き続き利用可能です。

Custom Overrides により、エンドユーザーはCData の認証情報ではなく、自分の組織のOAuth 認証情報でログインできるようになります。コネクションオーバーライドを追加するには、以下の手順に従います：

**Step 1**

**Settings** ページの**Sources** タブで、**+Add Override** をクリックします。

**Step 2**

オーバーライドするデータソースを検索します。**Next** をクリックします。

**Step 3**

オーバーライドする**Setting** を選択します。

**Step 4**

**Override Value** を入力します。

**Step 5**

値を新規コネクションのみに適用するか、すべてのコネクション（新規および既存）に適用するかを選択します。

**Step 6**

**Confirm** をクリックします。

これでエンドユーザーはカスタム認証情報を使用できるようになります。

### ステップ4：コネクションの構成

Sub-Account のエンドユーザーは、Web ページで**Add Connection** をクリックします。バックエンドでは、Web サイトが [Create Connection](https://docs.cloud.cdata.com/ja/API/Connection-API.md) を呼び出し、Connect AI Embed のWeb ページへのリダイレクトURL を生成します。エンドユーザーは、Salesforce コネクションなどの特定のタイプのコネクションを構成し、コネクションを保存してテストできます。エンドユーザーが完了すると、Connect AI Embed がコネクションのリストを含むWeb ページへリダイレクトします。詳細については [Connection Flow](https://docs.cloud.cdata.com/ja/Connection-Flow.md) を参照してください。

### ステップ5：AI を使用したデータのクエリ

データソースが接続されると、アプリケーションはAI を使用して自然言語でエンドユーザーのデータを操作できます。Connect AI Embed のMCP サーバーは、AI エージェントと顧客の接続されたアカウント（Jira やSalesforce など）を橋渡しします。各Sub-Account のコネクションは分離されており、あるSub-Account のAI ワークフローは他のSub-Account のデータにアクセスできません。サーバーで生成された `connection_ids` クレームを含むJWT が、各リクエストを正しいエンドユーザーにスコープします。詳しくは [MCP](https://docs.cloud.cdata.com/ja/API/MCP-Embedded.md) を参照してください。

データをクエリするために、以下のConnect AI ドライバーのいずれかを使用することもできます：

* [ADO.NET](https://docs.cloud.cdata.com/ja/Clients/ADO.NET-Client-Embedded.md)
* [ODBC](https://docs.cloud.cdata.com/ja/Clients/ODBC-Client-Embedded.md)
* [JDBC](https://docs.cloud.cdata.com/ja/Clients/JDBC-Client-Embedded.md)
* [Python](https://docs.cloud.cdata.com/ja/Clients/Python-Client-Embedded.md)

さらに、Connect AI Embed は完全な [REST API](https://docs.cloud.cdata.com/ja/API/REST-API-Embedded.md) を提供します。HTTP リクエストを作成できる任意のREST 互換アプリケーションまたは統合ツールで、データを直接クエリできます。

### ログの表示

Connect AI Embed アカウントのログのリストを表示およびダウンロードするには、[**Logs**](https://docs.cloud.cdata.com/ja/Logs-Embedded.md) ページまたは [Log API](https://docs.cloud.cdata.com/ja/API/Log-API-Embedded.md) を使用します。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.