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

# SnapLogic

> This page outlines the steps to connect SnapLogic to Connect AI.

## Prerequisites

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

You must also generate a Personal Access Token (PAT) on the [Settings](/ja/Settings#personal-access-tokens) page. Copy this down, as it acts as your password during authentication.

<Steps>
  <Step>
    Download and install the Connect AI JDBC driver.

    a. Open the **Integrations** page of Connect AI.

    b. In the **Dev Tools** section, click **JDBC**.

    c. Download and run the setup file.

    d. When the installation is complete, the JAR file can be found in the installation directory. The default directory is `C:/Program Files/CData/CData Connect JDBC driver/lib`.
  </Step>

  <Step>
    Log in to SnapLogic.
  </Step>

  <Step>
    Click the **Manager** tab.
  </Step>

  <Step>
    Select a folder on the left to add the JDBC JAR file to.

    <Frame>
      <img src="https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/snaplogic_client_01.png?fit=max&auto=format&n=Q0F2YyND00IivWI1&q=85&s=6de9ebc91de4b4b3746456224a490638" alt="" width="1310" height="655" data-path="ja/images/snaplogic_client_01.png" />
    </Frame>
  </Step>

  <Step>
    Click the **Files** tab.

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

  <Step>
    Click the "+" button in the top right to upload the Connect AI JDBC JAR file. It appears as a file once uploaded.

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

  <Step>
    Click the **Designer** tab.
  </Step>

  <Step>
    Click **JDBC** to expand the options for snaps.
  </Step>

  <Step>
    Click and drag a **Generic JDBC - Select** snap onto the designer.

    <Frame>
      <img src="https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/snaplogic_client_04.png?fit=max&auto=format&n=Q0F2YyND00IivWI1&q=85&s=88a53100e3ea8562017872929b23317f" alt="" width="687" height="428" data-path="ja/images/snaplogic_client_04.png" />
    </Frame>
  </Step>

  <Step>
    Click **Add Account** > **Continue**.
  </Step>

  <Step>
    Enter the JDBC connection properties.

    * **JDBC driver**—add the Connect AI JAR file
    * **JDBC driver Class**—enter *cdata.jdbc.connect.ConnectDriver*
    * **JDBC Url**—enter a JDBC connection string for the JDBC driver. The connection string is formatted like `jdbc:connect:AuthScheme=[AuthScheme];User=[User];Password=[PAT];`.
    * **Username**—Connect AI のユーザー名を入力します。ユーザー名は、Connect AI の画面の右上に表示されています。例：*[test@cdata.co.jp](mailto:test@cdata.co.jp)*
    * **Password**—[Settings](/ja/Settings#personal-access-tokens) ページで生成したPAT を入力します。

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

  <Step>
    Click **Validate**. If the connection succeeds, the snap is ready to use.
  </Step>

  <Step>
    Click **Apply**.
  </Step>
</Steps>
