Configuring dbt Cloud connections
dbt Cloud connections authenticate with an API key (or token). You store the key in Secrets Manager and reference that secret when you create the connection in AWS Glue Studio.
To configure a dbt Cloud connection:
Create a dbt Cloud service token or personal access token. For more information, see Authentication tokens
on the dbt Developer Hub website. In Secrets Manager, create a secret containing the key
api_keyset to your dbt Cloud token. Store only the token value. The connector adds theTokenprefix.In the AWS Glue Studio console, choose Connections under Data Catalog, then choose Create connection.
Search for and choose dbt Cloud as the data source.
For the URL connection property, enter the access URL of your dbt Cloud account without an
/apipath, for examplehttps://cloud.getdbt.comorhttps://. You can find the access URL in your dbt Cloud account settings.ACCOUNT_PREFIX.us1.dbt.comFor credentials, choose the Secrets Manager secret you created, select the IAM role that AWS Glue can assume to read the secret, optionally set network options, and complete the connection creation.
Grant the IAM role associated with your AWS Glue job permission to read the secret.