Looker
Looker
This page outlines the steps to connect Looker to the CData Connect Cloud Virtual SQL Server API.
Prerequisites
Before you connect, you must first do the following:
- Connect a data source to your CData Connect Cloud account. See Connections for more information.
- Generate a Personal Access Token (PAT) on the Settings page. Copy this down, as it acts as your password during authentication.
Connecting to CData Connect Cloud
To establish a connection from Looker to the CData Connect Cloud Virtual SQL Server API, follow these steps.
-
Log in to Looker.
-
In the navigation pane, select Admin. Under the Database category, select Connections.
-
On the Connections page, click Add Connection.
-
Enter the connection settings:
-
Name—the name for the connection in models.
-
Dialect—select Microsoft SQL Server 2017+.
-
SSH Server—leave this disabled.
-
Remote Host:Port—enter tds.cdata.com in the first field and 14333 in the second field.
-
Database—enter the Connection Name of the CData Connect Cloud data source you want to connect to (for example, Salesforce1).
-
Username—enter your CData Connect Cloud username. This is displayed in the top-right corner of the CData Connect Cloud interface. For example, test@cdata.com.
-
Password—enter the PAT you generated on the Settings page.
Leave the rest of the connection settings at their default values unless you need to modify them.
-
-
At the bottom of the page, click Test These Settings to ensure that you can connect to CData Connect Cloud.
-
Click Add Connection to create the connection and return to the Connections page.
Your connection is now available for use in Looker. To connect to additional data sources from your CData Connect Cloud account, repeat the setup steps above, changing the value for Database for each data source.