---
schema_version: "1"
id: 7b88858c4e40a1fee8d040b7b6ea0edd93ebe3503f7b5b557efb5ba5fa727457
title: Set Up Your Data in Databricks
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/data/264-0-0/c360_a_ai_byom_set_up_your_data_databricks.md
canonical_url: https://help.salesforce.com/s/articleView?id=data.c360_a_ai_byom_set_up_your_data_databricks.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b6a59407451cc41ae648ce2c86ae18d39c87cdd7ef4f3d3dcb86d9eef12dcd82
description: 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.
products:
  - Data 360
release: "264"
---
# 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.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>All Editions</strong> supported by Data 360. See <a href="https://help.salesforce.com/s/articleView?id=data.c360_a_dc_editions.htm&amp;language=en_US" target="_blank">Data 360 edition availability</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d230279e62">USER PERMISSIONS
              NEEDED</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="USER PERMISSIONS NEEDED" class="slds-cell-wrap" style="vertical-align:top;" headers="d230279e62 ">Allow users to manage models in AI Models</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d230279e62 ">Enables you to create, update, and delete models in AI Models.</td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d230279e92">PERMISSION SETS </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="PERMISSION SETS" class="slds-cell-wrap" style="vertical-align:top;" headers="d230279e92 ">Data Cloud Architect</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d230279e92 ">Admin-level access to all AI Models features, including the ability to create,
              update, delete, and activate models.</td>

          </tr>
          <tr class="">
            <td data-label="PERMISSION SETS" class="slds-cell-wrap" style="vertical-align:top;" headers="d230279e92 ">Data Cloud User</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d230279e92 ">Restricted access to use a model, including getting predictions and
              improvements derived from a model.</td>

          </tr>
        </tbody>
      </table>

1. In your Databricks notebook, install the CDP Python Connector to access Data 360 objects and ingest Salesforce data into Databricks.
2. As part of the Python connector configuration, create an external client app or connected app.
    
    ![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-data-data_cloud-264-0-0-production-enus/f3569962-3c9b-4f83-9d0c-b6a574e785da/images/icon_important.png)
    
    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](https://help.salesforce.com/s/articleView?id=xcloud.external_client_apps.htm&language=en_US) instead. If you must continue creating connected apps, contact Salesforce Support.
    
    See [New connected apps can no longer be created in Spring ‘26](https://help.salesforce.com/s/articleView?id=005228017&type=1&language=en_US) for more details.
3. Restrict access to IP addresses to manage access to your data.
4. Use a key-based authentication to securely access your data.
5. 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.
6. To consume the inferences in Data 360, upload the Python file to your notebook.
7. 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.

#### See Also

- [_Salesforce Help_: Create a Connected App](https://help.salesforce.com/s/articleView?id=xcloud.connected_app_create.htm&type=5&language=en_US)
- [_Salesforce Developer_: CDP Python Connector](https://developer.salesforce.com/docs/atlas.en-us.c360a_api.meta/c360a_api/c360a_api_python_connector.htm)
- [_External_: Create and Configure Model Serving Endpoints](https://docs.databricks.com/en/machine-learning/model-serving/create-manage-serving-endpoints.html)