Prerequisites for Connecting via Virtual SQL Server API
Before you connect via Virtual SQL Server API, you must first do the following:- Connect a data source to your Connect AI account. See Sources for more information.
- Generate a Personal Access Token (PAT) on the Settings page. Copy this down, as it acts as your password during authentication.
Connect to Connect AI via Virtual SQL Server API
To establish a connection from Azure Data Factory to the Connect AI Virtual SQL Server API, follow these steps.If you have not yet created a Data Factory:a. Click Create and enter your configuration information in each tab.b. When you are finished entering information, click Review + create and then Create to save the Data Factory.
Enter the connection settings.
- Name—enter a name of your choice.
- Server name—enter the Virtual SQL Server endpoint and port separated by a comma: tds.cdata.com,14333
- Database name—接続したいConnect AI データソースのConnection Name を入力します。例:Salesforce1
- User Name—Connect AI のユーザー名を入力します。ユーザー名は、Connect AI の画面の右上に表示されています。例:
test@cdata.co.jp - Password—select Password (not Azure Key Vault) and Settings ページで生成したPAT を入力します。
Prerequisites for Connecting via OData Endpoint
Before you connect to Connect AI via the OData endpoint, you must first do the following:- Connect a data source to your Connect AI account. See Sources for more information.
- Create a Workspace. Later, you will use the OData Service URL on that page (
https://cloud.cdata.com/api/odata/{workspace_name}) with the relevant workspace name to establish the connection. - Generate a Personal Access Token (PAT) on the Settings page. Copy this down, as it acts as your password during authentication.
Connect to Connect AI via OData Endpoint
To connect to Connect AI using the OData protocol, follow these steps.In the Set properties dialog, name your OData Resource and for Linked service, click New. A New linked service dialog appears.
Enter the following settings for OData:
- Name—enter a name of your choice.
- Service URL—enter
https://cloud.cdata.com/api/odata/{workspace_name}. - Authentication type—select Basic Authentication.
- User name—Connect AI のユーザー名を入力します。ユーザー名は、Connect AI の画面の右上に表示されています。例:
test@cdata.co.jp - Password—select Password (not Azure Key Vault) and Settings ページで生成したPAT を入力します。




