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

# Connection Flow

> 次の図は、顧客がConnect AI Embed を使用して接続を設定する際の接続・認証フローを示しています。

![](https://mintcdn.com/cdata/2PJ77blgDEduAzWi/ja/images/powered_by_cdata_connection_flow.svg?fit=max\&auto=format\&n=2PJ77blgDEduAzWi\&q=85\&s=4fce4e96f9a103e3390d9c32ed6013c3)

クライアントアカウントからConnect AI データソースへのコネクションを作成するには、次のステップが必要です：

**Step 1**

顧客のアカウントのエンドユーザーが、Web ページで**Add Connection** をクリックします。

**Step 2**

アプリケーションは、秘密鍵で署名したJSON Web Token (JWT) を作成し、Connect AI Embed のCreate Connection API にリクエストを送信します。

**Step 3**

Connect AI Embed は、アプリケーションにリダイレクトURL を返します。

**Step 4**

エンドユーザーはConnect AI の**Add Connection** ページにリダイレクトされます。

**Step 5**

エンドユーザーはSalesforce などの特定のデータコネクタの接続情報を入力し、接続をテストして保存します。

**Step 6**

Connect AI Embed が [Create Connection](https://docs.cloud.cdata.com/ja/API/Connection-API.md) を呼び出します。

**Step 7**

Create Connection は**Add Connection** ページに成功または失敗を返します。

**Step 8**

エンドユーザーが**Close** ボタンをクリックします。Connect AI Embed はコネクションID を付けて自社のWeb ページにリダイレクトします。

**Step 9**

自社のWeb ページにエンドユーザーのコネクション一覧が表示されます。


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