You are here:
Set Up Your Data in Databricks
Access Salesforce data in your Databricks notebook using a Python connector. The user-friendly interface lets you quickly execute queries against data in Data 360 so that you can extract the data that you need into Python.
- In your Databricks notebook, install the CDP Python Connector to access Data 360 objects and ingest Salesforce data into Databricks.
-
As part of the Python connector configuration, create an external client app or
connected app.
Important Creating connected apps is restricted as of Spring ‘26. You can continue to use existing connected apps during and after Spring ‘26. However, we recommend using external client apps instead. If you must continue creating connected apps, contact Salesforce Support.
See New connected apps can no longer be created in Spring ‘26 for more details.
- Restrict access to IP addresses to manage access to your data.
- Use a key-based authentication to securely access your data.
- In Data 360, connect to your data source to query the dataset in Databricks. For example, to get email engagement data, you need access to the Email Engagement object in Marketing Cloud Engagement.
- To consume the inferences in Data 360, upload the Python file to your notebook.
- To get your model endpoint, go to the Databricks dashboard in the Registered Models - Serving section. Note the URL as you need these details to connect your model with Salesforce.

