Configure Connection to Data Source

Alation Cloud Service Applies to Alation Cloud Service instances of Alation

After you install the dbt Gen2 OCF connector, you must configure the connection to the dbt Gen2 OCF data source.

The various steps involved in configuring connection to a dbt Gen2 data source are:

Configure Authentication

The dbt Gen2 OCF connector supports authentication using Personal Access Tokens (PATs) or Service tokens.

Perform the following steps to configure authentication in Alation UI:

  1. On the Settings page of your dbt Gen2 data source, go to the General Settings tab.

  2. Provide the following information:

    Parameter

    Description

    dbt Cloud Admin API Endpoint

    Specify the Admin API URL to access dbt. Format: https:://<hostname>

    dbt Cloud Account Id

    Specify the service account id to access dbt.

    dbt Cloud Discovery API Endpoint

    Specify the Admin API URL to access dbt for extracting metadata from dbt Discovery API. Format: https:://<hostname>/graphql

    Token

    Specify the dbt Resource URL used to grant access scope dbt APIs. You can either use Personal Access Token or Service token.

  3. Click Save.

Test the Connection

The connection test checks connectivity to dbt.

To validate the network connectivity, go to General Settings > Test connection of the Settings page of your dbt Gen2 data source and click Test.

A dialog box appears confirming the status of the connection test.

Configure Logging

To set the logging level for your dbt Gen2 OCF data source logs, perform these steps:

  1. On the Settings page of your dbt Gen2 OCF data source, go to General Settings > Connector logs.

  2. Select a logging level for the connector logs and click Save.

The default log level is INFO.