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

# Nintex

> This page outlines the steps to connect Nintex to the Connect AI Virtual SQL Server API.

## Prerequisites

Before you connect, you must first do the following:

* Connect a data source to your Connect AI account. See [Sources](/en/Sources) for more information.
* Generate a Personal Access Token (PAT) on the [Settings](/en/Settings#personal-access-tokens) page. Copy this down, as it acts as your password during authentication.

## Connect to Connect AI

To establish a connection from Nintex to the Connect AI Virtual SQL Server API, follow these steps.

<Steps>
  <Step>
    Log in to Nintex Workflow Cloud.
  </Step>

  <Step>
    In the Connections tab, click **Add New**.
  </Step>

  <Step>
    Select **Microsoft SQL Server** as the **Connector** type.

    <Frame>
      <img src="https://mintcdn.com/cdata/8B5SN8TlQOoh6rM4/en/images/NintexClient01.png?fit=max&auto=format&n=8B5SN8TlQOoh6rM4&q=85&s=ef8af1747fca945c3686f132dc1523b3" alt="" width="1284" height="724" data-path="en/images/NintexClient01.png" />
    </Frame>
  </Step>

  <Step>
    Click **Connect**. This opens the SQL Server connection wizard.

    <Frame>
      <img src="https://mintcdn.com/cdata/8B5SN8TlQOoh6rM4/en/images/NintexClient02.png?fit=max&auto=format&n=8B5SN8TlQOoh6rM4&q=85&s=59ba6cea395f433d3a37a0ff04a6412a" alt="" width="806" height="606" data-path="en/images/NintexClient02.png" />
    </Frame>
  </Step>

  <Step>
    In the wizard, enter a **Connection Name**, such as *Connect AI Connection*.
  </Step>

  <Step>
    Enter your Connect AI **Username**.
  </Step>

  <Step>
    Enter your Connect AI PAT in the **Password** field.
  </Step>

  <Step>
    Enter *tds.cdata.com:14333* in **Database Host**.
  </Step>

  <Step>
    Enter the name of the **Database** to connect to.
  </Step>

  <Step>
    Click **Connect**.

    <Frame>
      <img src="https://mintcdn.com/cdata/8B5SN8TlQOoh6rM4/en/images/NintexClient03.png?fit=max&auto=format&n=8B5SN8TlQOoh6rM4&q=85&s=93035b33feea79da989566218e18f640" alt="" width="1284" height="724" data-path="en/images/NintexClient03.png" />
    </Frame>
  </Step>

  <Step>
    Configure the Connect AI **Owner** and **User** permissions and click **Save Permissions** to complete the connection.
  </Step>
</Steps>
