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

# Workato

> このページではWorkato をConnect AI の仮想SQL Server API に接続する手順の概要を示します。

## 前提条件

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

* データソースをConnect AI アカウントに接続します。詳しくは、[Sources](/ja/Sources) を参照してください。
* [Settings](/ja/Settings#personal-access-tokens) ページでPersonal Access Token (PAT) を生成します。PAT をコピーし、認証時にパスワードとして使用します。

## Connect AI に接続する

Workato からConnect AI の仮想SQL Server API へのコネクションを確立するには以下の手順に従います。

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

  <Step>
    On the navigation bar, click **Projects**.
  </Step>

  <Step>
    Enter a name for the new project and click **Create project**.
  </Step>

  <Step>
    In your new project, click **Create** > **Connection**.

    <Frame>
      <img src="https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/workato_client_create_connection.png?fit=max&auto=format&n=Q0F2YyND00IivWI1&q=85&s=97aeb8049b08d8cac92a6056ebedb9db" alt="" width="1406" height="551" data-path="ja/images/workato_client_create_connection.png" />
    </Frame>
  </Step>

  <Step>
    In the search bar, enter "SQL Server". The **Connect to SQL Server** screen appears.

    <Frame>
      <img src="https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/workato_client_connect_sql.png?fit=max&auto=format&n=Q0F2YyND00IivWI1&q=85&s=1f61f34648896d211e48ee4f30886fb5" alt="" width="1014" height="546" data-path="ja/images/workato_client_connect_sql.png" />
    </Frame>
  </Step>

  <Step>
    In **Connect to SQL Server**, enter the connection name and the following connection settings.

    * **Location**—The name of the project in which to create the connection.
    * **Connection type**—select **Cloud**.
    * **Host**—*tds.cdata.com*
    * **Port**—*14333*
    * **Username**—Connect AI のユーザー名を入力します。ユーザー名は、Connect AI の画面の右上に表示されています。例：*`test@cdata.co.jp`*
    * **Password**—[Settings](/ja/Settings#personal-access-tokens) ページで生成したPAT を入力します。
    * **Database**—接続したいConnect AI データソースのConnection Name を入力します。例：*Salesforce1*
  </Step>

  <Step>
    Click **Connect**. A **Connection established** message appears.
  </Step>

  <Step>
    The next step is to set up your recipe. In your project, click **Create** > **Recipe**.

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

  <Step>
    In **Set up your recipe**, enter the name and location of your recipe.
  </Step>

  <Step>
    Select **Run on a schedule**.
  </Step>

  <Step>
    Select the actions that occur on the schedule.
  </Step>

  <Step>
    Select a table from your SQL Server connection, and any filters, if applicable.

    <Frame>
      <img src="https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/workato_client_select_table.png?fit=max&auto=format&n=Q0F2YyND00IivWI1&q=85&s=4a8dfe305b4ee06289de84d74d0e7049" alt="" width="1391" height="630" data-path="ja/images/workato_client_select_table.png" />
    </Frame>
  </Step>

  <Step>
    Click **Save** to save the recipe.
  </Step>

  <Step>
    Click **Test Jobs** to test your recipe.
  </Step>
</Steps>
