Salesforce Data 360 setup Beta
This dbt-salesforce adapter is available via the dbt Fusion engine CLI. To access the adapter, install dbt Fusion. We recommend using the VS Code Extension as the development interface. dbt platform support coming soon.
Prerequisites
Before you can connect dbt to the Salesforce Data 360, you need the following:
- A Data 360 instance
- An external client app that dbt connects to for the Data 360 instance, with OAuth configured. OAuth scopes must include:
api- To manage user data via APIs.refresh_token,offline_access- To perform requests at any time, even when the user is offline or tokens have expired.cdp_query_api- To execute ANSI SQL queries on Data 360 data.
- A private key and the
server.keyfile - User with
Data Cloud Architectpermission
Configure Fusion
To connect dbt to Salesforce Data 360, set up your profiles.yml. Refer to the following configuration:
~/.dbt/profiles.yml
company-name:
target: dev
outputs:
dev:
type: salesforce
method: jwt_bearer
client_id: [Consumer Key of your Data 360 app]
private_key_path: [local file path of your server key]
login_url: "https://login.salesforce.com"
username: [username on the Data 360 Instance]
| Loading table... |
More information
Find Salesforce-specific configuration information in the Salesforce adapter reference guide.
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
0