前提条件
接続する前にまず以下を実行します。- データソースをConnect AI アカウントに接続します。詳しくは、Sources を参照してください。
- Settings ページでPersonal Access Token (PAT) を生成します。PAT をコピーし、認証時にパスワードとして使用します。
Connect AI に接続する
Looker からConnect AI の仮想SQL Server API へのコネクションを確立するには以下の手順に従います。1
Log in to Looker.
2
In the navigation pane, select Admin. Under the Database category, select Connections.
3
On the Connections page, click Add Connection.
4
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—接続したいConnect AI データソースのConnection Name を入力します。例:Salesforce1
- Username—Connect AI のユーザー名を入力します。ユーザー名は、Connect AI の画面の右上に表示されています。例:
[email protected] - Password—Settings ページで生成したPAT を入力します。 Leave the rest of the connection settings at their default values unless you need to modify them.
5
At the bottom of the page, click Test These Settings to ensure that you can connect to Connect AI.
6
Click Add Connection to create the connection and return to the Connections page.