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

# Tableau Cloud

> This page outlines the steps to connect Tableau Cloud 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 [Connections](https://docs.cloud.cdata.com/ja/Sources.md) for more information.
* Generate a Personal Access Token (PAT) on the [Settings](https://docs.cloud.cdata.com/ja/Settings/Personal-Access-Tokens.md) page. Copy this down, as it acts as your password during authentication.
* If you want to connect to a virtual schema rather than a data source, first [Add a virtual schema](https://docs.cloud.cdata.com/ja/Virtual-Schemas.md#仮想スキーマを追加) to Virtual Schemas.

## Connect to Connect AI

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

**Step 1**

Log in to Tableau Cloud.

**Step 2**

On the **Home** tab, click **New** > **Workbook**.

![Tableau Cloud New Connection](https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/tableau_cloud_newconnection.png?fit=max\&auto=format\&n=Q0F2YyND00IivWI1\&q=85\&s=7427bff5f4d19b165209e0a8ce5071fb)

**Step 3**

On the **Connect to Data** dialog, select the **Connectors** tab. In the connectors list, select **Microsoft SQL Server**.

![Tableau Cloud Select Source](https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/tableau_cloud_selectsource.png?fit=max\&auto=format\&n=Q0F2YyND00IivWI1\&q=85\&s=963bd4ee35445b838689ccbdeb9ded93)

**Step 4**

Enter the connection settings.

* **Server**—enter the Virtual SQL Server endpoint and port separated by a comma: *tds.cdata.com*,*14333*
* **Database**—接続したいConnect AI データソースのConnection Name を入力します。例：*Salesforce1*
* **Authentication**—leave this as username and password.
* **Username**—Connect AI のユーザー名を入力します。ユーザー名は、Connect AI の画面の右上に表示されています。例：*[test@cdata.co.jp](mailto:test@cdata.co.jp)*
* **Password**—[Settings](https://docs.cloud.cdata.com/ja/Settings/Personal-Access-Tokens.md) ページで生成したPAT を入力します。
* **Require SSL**—leave this selected.

**Step 5**

Click **Sign In**.

**Step 6**

Once the connection succeeds, your data is available to use in your workbook. Follow these steps to access it:

**Step 7**

In the **Connections** section of the data pane to the left of the workbook, select your connection.

**Step 8**

In the **Database** section of the data pane, select the data source that you want to use. The tables for that data source populate in the **Table** section.

**Step 9**

Drag your tables into the workbook space or perform queries as needed.

## Modify a Connection

You can modify your connection by following these steps:

**Step 1**

In your workbook, click the drop-down arrow next to your connection in the **Connections** section.

**Step 2**

Select **Edit Connection**.

![Tableau Cloud Edit Connection](https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/tableau_cloud_editconnection.png?fit=max\&auto=format\&n=Q0F2YyND00IivWI1\&q=85\&s=2adb199227218f85024cd2b326e45ef2)

**Step 3**

Edit your connection details and click **Sign In** when you are finished.

## Connect to a Virtual Schema

To connect Tableau Cloud to a specific [virtual schema](https://docs.cloud.cdata.com/ja/Virtual-Schemas.md) in Connect AI, you specify the virtual schema name after the Connect AI username in the format of `[your_email_address]@[virtual_schema_name]`:

![Tableau Cloud Virtual Schema](https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/tableau_cloud_workspace.png?fit=max\&auto=format\&n=Q0F2YyND00IivWI1\&q=85\&s=86cb42239d73257214f22282a5a62289)

You can copy the **Username** from the **Virtual SQL Server** tab of the **Endpoints** dialog for your virtual schema and paste it in the Tableau Cloud **Username** field.

![Tableau Cloud Endpoints](https://mintcdn.com/cdata/Q0F2YyND00IivWI1/ja/images/tableau_cloud_endpoints.png?fit=max\&auto=format\&n=Q0F2YyND00IivWI1\&q=85\&s=97a6190c2bacf5a6d3d2dd336bddcd6c)

## Learn More

For more information about Tableau Cloud, please see the [Tableau Cloud help pages](https://help.tableau.com/current/online/en-us/tableau-online-home.htm).


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