Create a dbt connection
For CollibraData Lineage to connect to and retrieve metadata from dbt Cloud, create a dbt connection.
Before you begin
- Create an Edge site on K3S.
- You have added a vault to your Edge site.Note Vaults are not supported on Collibra Cloud sites.
- If your data source connection requires a file from your vault, the file must be encoded into Base64 and stored as a regular secret in your vault.
Prerequisites
- You have a global role with the Product Rights > System administration global permission.
- You have a global role that has the Manage Edge sites global permission.
Steps
- Open a site.
-
On the main toolbar, click
→
Settings.
The Settings page opens. -
In the tab pane, click Edge.
The Sites tab opens and shows a table with an overview of your sites. - In the site overview, click the name of a site.
The site page appears.
-
On the main toolbar, click
-
In the Connections section, click Create Connection.
The Create Connection dialog box appears. - Select dbt connection.
- Enter the connection information.
Field Description Required Name
The name of the connection.
Yes
Description
The description of the connection. This field is also visible when you register content.
No
Vault The vault where you store your data source values.
No
Admin URL
The dbt Cloud Administrative API that Collibra Data Lineage uses to download job artifacts.
The default value is
https://cloud.getdbt.com/api/v2. This default value applies only to the North America multi-tenant region. If your dbt Cloud instance is hosted in a different region or in a single-tenant environment, update this URL to match your deployment. For more information, go to dbt Cloud API v2 and dbt Semantic Layer GraphQL API in the dbt documentation.This field is used only if you do not enter a value for the Environment Ids field in the Technical Lineage for dbt Cloud capability.
If you enter values for both the Admin URL and Environment Ids fields, the Environment Ids field takes precedence.
How to use your vault...To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the query value to identify the secret in your vault.Example
Note The Query must be a string containing the properties required to identify the secret. Each property must be separated by a semicolon (;). For example: Safe=<SafeName>;Folder=<FolderName>;Object=<ObjectName>If a property is a folder with sub-folders, use a backslash (\) to define the folder path. For example: Folder=Root\Top Secrets\More Secrets
For more information about query formats and supported properties, go to the CyberArk Credential Provider documentation.
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Secret Engine Type
- Select one of the following:
- Key Value
- Database
- Engine Path
- The engine path to your vault where the value is stored.
- Secret Path
- The secret path to your vault where the value is stored.
- Field
- If your Secret Engine Type is Key Value, enter the name of the field to your vault where the value is stored.
- Role
- If your Secret Engine Type is Database, enter the role specified in the Database engine.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Vault Name
- The name of your Azure Key Vault in your Azure Key Vault service where the value is stored.
- Secret Name
- The name of the secret in your vault where the value is stored.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Secret Name
- The name of the secret in your vault where the value is stored.
- Field
- If the secret stored in your AWS Secrets Manager is a JSON value, for example
{"pass1": "my-password", "pass2": "my-password2"}, then you need to specify the Field to point to the exact JSON value that should be used. For example,Secret Name: edge-db-customer; Field: pass.Note If the secret stored in your AWS Secrets Manager is a plain string value, for examplemy-password, then you do not need to specify the Field.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the name of the secret in your vault where the value is stored.
Example

No
Metadata URL
The dbt Cloud Discovery API. The default value is
https://metadata.cloud.getdbt.com/graphql.For details, go to Query the Discovery API in dbt documentation.
How to use your vault...To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the query value to identify the secret in your vault.Example
Note The Query must be a string containing the properties required to identify the secret. Each property must be separated by a semicolon (;). For example: Safe=<SafeName>;Folder=<FolderName>;Object=<ObjectName>If a property is a folder with sub-folders, use a backslash (\) to define the folder path. For example: Folder=Root\Top Secrets\More Secrets
For more information about query formats and supported properties, go to the CyberArk Credential Provider documentation.
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Secret Engine Type
- Select one of the following:
- Key Value
- Database
- Engine Path
- The engine path to your vault where the value is stored.
- Secret Path
- The secret path to your vault where the value is stored.
- Field
- If your Secret Engine Type is Key Value, enter the name of the field to your vault where the value is stored.
- Role
- If your Secret Engine Type is Database, enter the role specified in the Database engine.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Vault Name
- The name of your Azure Key Vault in your Azure Key Vault service where the value is stored.
- Secret Name
- The name of the secret in your vault where the value is stored.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Secret Name
- The name of the secret in your vault where the value is stored.
- Field
- If the secret stored in your AWS Secrets Manager is a JSON value, for example
{"pass1": "my-password", "pass2": "my-password2"}, then you need to specify the Field to point to the exact JSON value that should be used. For example,Secret Name: edge-db-customer; Field: pass.Note If the secret stored in your AWS Secrets Manager is a plain string value, for examplemy-password, then you do not need to specify the Field.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the name of the secret in your vault where the value is stored.
Example

No
Token Name
The name of the service token. It can be any unique meaningful name.
How to get a service token and token value.- Generate a Service token and ensure that you set the Read-Only permissions for CollibraData Lineage to work properly.
- Copy the token value when you save the service token.
For details, go to Generating service account tokens in dbt documentation.
How to use your vault...To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the query value to identify the secret in your vault.Example
Note The Query must be a string containing the properties required to identify the secret. Each property must be separated by a semicolon (;). For example: Safe=<SafeName>;Folder=<FolderName>;Object=<ObjectName>If a property is a folder with sub-folders, use a backslash (\) to define the folder path. For example: Folder=Root\Top Secrets\More Secrets
For more information about query formats and supported properties, go to the CyberArk Credential Provider documentation.
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Secret Engine Type
- Select one of the following:
- Key Value
- Database
- Engine Path
- The engine path to your vault where the value is stored.
- Secret Path
- The secret path to your vault where the value is stored.
- Field
- If your Secret Engine Type is Key Value, enter the name of the field to your vault where the value is stored.
- Role
- If your Secret Engine Type is Database, enter the role specified in the Database engine.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Vault Name
- The name of your Azure Key Vault in your Azure Key Vault service where the value is stored.
- Secret Name
- The name of the secret in your vault where the value is stored.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Secret Name
- The name of the secret in your vault where the value is stored.
- Field
- If the secret stored in your AWS Secrets Manager is a JSON value, for example
{"pass1": "my-password", "pass2": "my-password2"}, then you need to specify the Field to point to the exact JSON value that should be used. For example,Secret Name: edge-db-customer; Field: pass.Note If the secret stored in your AWS Secrets Manager is a plain string value, for examplemy-password, then you do not need to specify the Field.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the name of the secret in your vault where the value is stored.
Example

Yes
Token Value
Enter the service token.
Tip You can select To be encrypted by Edge management server or Encrypted with public key to indicate the encryption method.
How to use your vault...To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the query value to identify the secret in your vault.Example
Note The Query must be a string containing the properties required to identify the secret. Each property must be separated by a semicolon (;). For example: Safe=<SafeName>;Folder=<FolderName>;Object=<ObjectName>If a property is a folder with sub-folders, use a backslash (\) to define the folder path. For example: Folder=Root\Top Secrets\More Secrets
For more information about query formats and supported properties, go to the CyberArk Credential Provider documentation.
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Secret Engine Type
- Select one of the following:
- Key Value
- Database
- Engine Path
- The engine path to your vault where the value is stored.
- Secret Path
- The secret path to your vault where the value is stored.
- Field
- If your Secret Engine Type is Key Value, enter the name of the field to your vault where the value is stored.
- Role
- If your Secret Engine Type is Database, enter the role specified in the Database engine.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Vault Name
- The name of your Azure Key Vault in your Azure Key Vault service where the value is stored.
- Secret Name
- The name of the secret in your vault where the value is stored.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the required information:
- Secret Name
- The name of the secret in your vault where the value is stored.
- Field
- If the secret stored in your AWS Secrets Manager is a JSON value, for example
{"pass1": "my-password", "pass2": "my-password2"}, then you need to specify the Field to point to the exact JSON value that should be used. For example,Secret Name: edge-db-customer; Field: pass.Note If the secret stored in your AWS Secrets Manager is a plain string value, for examplemy-password, then you do not need to specify the Field.
Example
To use your vault, do the following:- In the Value Type field, select Vault Key.
- Enter the name of the secret in your vault where the value is stored.
Example

Yes
- Click Create.
Add the Technical Lineage for dbt Cloud capability to your Edge or Collibra Cloud site.