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

# Zapier

> このページでは、[OData](/ja/API/OData-Dashboard) プロトコルを使用してZapier をConnect AI に接続する手順の概要を示します。これには、ワークスペースを使う必要があります。詳しくは、[Workspaces](/ja/Workspaces) ヘルプを参照してください。

## 前提条件

接続する前にまず以下を実行します。

* データソースをConnect AI アカウントに接続します。詳しくは、[Sources](/ja/Sources) を参照してください。
* [ワークスペース](/ja/Workspaces)を作成します。後の手順で、(*`https://cloud.cdata.com/api/odata/{workspace_name}`*) ページの**OData Service URL** と関連するワークスペース名を使用してコネクションを確立します。
* [Settings](/ja/Settings#personal-access-tokens) ページでPersonal Access Token (PAT) を生成します。PAT をコピーし、認証時にパスワードとして使用します。

## Connect AI への接続

OData プロトコルを使用してZapier からConnect AI へのコネクションを確立するには、以下の手順に従います。

<Steps>
  <Step>
    Log in to Zapier.
  </Step>

  <Step>
    Click **Create Zap**.
  </Step>

  <Step>
    In the dialog that appears, search for "Webhooks by Zapier", and click the option underneath.

    <Frame>
      <img src="https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/zapier_client_01.png?fit=max&auto=format&n=Q0F2YyND00IivWI1&q=85&s=f22d50d89198281f64142be99af3c1df" alt="" width="872" height="769" data-path="ja/images/zapier_client_01.png" />
    </Frame>
  </Step>

  <Step>
    Under Event, select **Retrieve Poll**.

    <Frame>
      <img src="https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/zapier_client_02.png?fit=max&auto=format&n=Q0F2YyND00IivWI1&q=85&s=24247238e113b77e5a0964f7bc871ef8" alt="" width="1395" height="1242" data-path="ja/images/zapier_client_02.png" />
    </Frame>
  </Step>

  <Step>
    Fill in the connection details:

    * **URL**: Enter the OData URL.
    * **Key**: Enter "value.name".
    * Authentication details: Fill in **Basic Auth** or **Headers**. The basic option requires a user and password separated by a pipe (`|`) symbol. The headers option requires a request type header with encoded credentials.

    <Frame>
      <img src="https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/zapier_client_03.png?fit=max&auto=format&n=Q0F2YyND00IivWI1&q=85&s=f44890629411e74492500009a59aa1e9" alt="" width="810" height="1320" data-path="ja/images/zapier_client_03.png" />
    </Frame>
  </Step>

  <Step>
    Click **Test**. If the connection is set up properly, sample records will appear.

    <Frame>
      <img src="https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/zapier_client_04.png?fit=max&auto=format&n=Q0F2YyND00IivWI1&q=85&s=eb63e9a6ddde85b593bb2b59f2b67442" alt="" width="830" height="1182" data-path="ja/images/zapier_client_04.png" />
    </Frame>
  </Step>
</Steps>
