<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Salesforce with Databricks connectivity in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/177791#M57375</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Yes, you can integrate Salesforce with Databricks for both reading and writing data. However, I would recommend different approaches for each direction rather than relying entirely on ODBC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;1. Pull data from Salesforce into Databricks&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For supported Salesforce objects, Lakeflow Connect is a good option for managed ingestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can also use Salesforce REST or Bulk APIs when you need custom extraction logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;2. Push data from Databricks to Salesforce&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For write-back operations, I would recommend Salesforce APIs.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;REST API for smaller, application-driven updates.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Bulk API 2.0 for large asynchronous insert, update and upsert operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;External IDs for idempotent upserts to help prevent duplicates during retries.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;For example, suppose you train a customer churn prediction model in Databricks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can extract customer records from Salesforce, generate churn scores using MLflow models and write those predictions back to a custom Salesforce field using the Bulk API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;3. Challenges with ODBC&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ODBC can be useful when a compatible driver is available, but there are several considerations.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Driver compatibility and licensing.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;OAuth authentication and token refresh.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Salesforce API limits and throttling.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Performance with large datasets.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Data type mapping between Salesforce and Spark.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Driver-dependent support for write operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;I would generally avoid using ODBC as the primary mechanism for high-volume bidirectional synchronization.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;4. Production recommendations&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Use incremental ingestion where supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Maintain checkpoints or watermarks for extraction.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Implement retries with exponential backoff for transient API failures.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Use external IDs and idempotent write-back operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Monitor API consumption and failed records.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Reconcile source and target data after synchronization.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;One important distinction is that Salesforce CRM and Salesforce Data Cloud support different integration patterns. Data federation allows supported data to be queried without traditional copying, but it does not automatically provide write-back to Salesforce CRM objects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My recommendation is Lakeflow Connect for supported ingestion requirements and Salesforce REST or Bulk API 2.0 for write-back.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you confirm whether you are integrating Salesforce CRM or Salesforce Data Cloud, and approximately how many records you expect to push and pull daily?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That will help determine the most suitable architecture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Documentation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/salesforce-pipeline" target="_blank"&gt;&lt;SPAN&gt;https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/salesforce-pipeline&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.salesforce.com/docs/platform/api-asynch/guide/bulk-api-2-0.html" target="_blank"&gt;&lt;SPAN&gt;https://developer.salesforce.com/docs/platform/api-asynch/guide/bulk-api-2-0.html&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Nov 2026 11:11:31 GMT</pubDate>
    <dc:creator>tajamulkhan</dc:creator>
    <dc:date>2026-11-27T11:11:31Z</dc:date>
    <item>
      <title>Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/124581#M47225</link>
      <description>&lt;P&gt;Can we connect Salesforce with Databricks.&lt;/P&gt;&lt;P&gt;I want to do both push and pull activity using Databricks and Salesforce.&lt;/P&gt;&lt;P&gt;Do There any challenge while using ODBC?&lt;/P&gt;&lt;P&gt;Please help me with detailed approach.&lt;/P&gt;&lt;P&gt;Thanks a ton.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 08:59:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/124581#M47225</guid>
      <dc:creator>LakehouseOMG14</dc:creator>
      <dc:date>2025-07-09T08:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/124588#M47228</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/174359"&gt;@LakehouseOMG14&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes, you can connect Databricks with Salesforce. You can leverage zero-copy federation as described in below article if you want to access delta tables in Salesforce.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-set-up-data-federation-dbx-connection.html" target="_blank"&gt;Set Up a Databricks Data Federation Connection | Data Cloud Integrations: Home Page | Data Cloud Integration Guide | Salesforce Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To access&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;Salesforce data from Databricks you can use:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Databricks Lakehouse Federation - Salesforce Data Cloud Connector.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;Databricks LakeFlow Connect - Salesforce Ingestion Connector.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;More details you can find below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;&lt;A href="https://www.databricks.com/blog/introducing-salesforce-connectors-lakehouse-federation-and-lakeflow-connect" target="_blank"&gt;Introducing Salesforce Connectors for Lakehouse Federation and LakeFlow Connect | Databricks Blog&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/salesforce-pipeline" target="_blank"&gt;Ingest data from Salesforce - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 09:35:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/124588#M47228</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-07-09T09:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/124607#M47231</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks Sir.&lt;/P&gt;&lt;P&gt;Can we Extract or Pull data from salesforce to Delta lake using Databricks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What all can be architectural challenges kindly share, as this I am implementing first time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 11:15:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/124607#M47231</guid>
      <dc:creator>LakehouseOMG14</dc:creator>
      <dc:date>2025-07-09T11:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/124613#M47232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/174359"&gt;@LakehouseOMG14&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;If you want to extract data from Salesforce and load it to Delta Table than you can use Lakeflow Connect.&lt;BR /&gt;There are some &lt;SPAN&gt;requirements you must meet to use that approach:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Your workspace must be enabled for Unity Catalog.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Serverless compute must be enabled for your workspace. See&amp;nbsp;Enable serverless compute.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If you plan to use an existing connection: You must have&amp;nbsp;USE CONNECTION&amp;nbsp;privileges or&amp;nbsp;ALL PRIVILEGES&amp;nbsp;on the connection object.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You must have&amp;nbsp;USE CATALOG&amp;nbsp;privileges on the target catalog.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;You must have&amp;nbsp;USE SCHEMA&amp;nbsp;and&amp;nbsp;CREATE TABLE&amp;nbsp;privileges on an existing schema or&amp;nbsp;CREATE SCHEMA&amp;nbsp;privileges on the target catalog.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;Create a Salesforce user that Databricks can use to retrieve data. Make sure that the user has API access and access to all of the objects that you plan to ingest.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;All that is described in below article. There you also find examples with pipeline definition:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/salesforce-pipeline" target="_blank"&gt;Ingest data from Salesforce - Azure Databricks | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also you can take a look at below video:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=84w7mO6IB30" target="_blank"&gt;Get Data Into Databricks - Lakeflow Connect with Salesforce&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 11:47:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/124613#M47232</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-07-09T11:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/127372#M47936</link>
      <description>&lt;P&gt;HI Team /&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When looking to set up a connector between data clouds and data bricks , can anyone give the exact step break&amp;nbsp; for&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;client id,&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;client secret,&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;url,&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;http path&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Salesforce Databricks connector.jpg" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18719i6EE9E37A30C3C642/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Salesforce Databricks connector.jpg" alt="Salesforce Databricks connector.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 19:20:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/127372#M47936</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-08-04T19:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/127375#M47938</link>
      <description>&lt;P&gt;HI Team /&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When looking to set up a connector between data clouds and data bricks , can anyone give the exact step break&amp;nbsp; for&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;client id,&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;client secret,&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;url,&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;http path&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Salesforce Databricks connector.jpg" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18719i6EE9E37A30C3C642/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Salesforce Databricks connector.jpg" alt="Salesforce Databricks connector.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; The connection URL is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ManojkMohan_0-1754337369748.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18721i49A2D3CEFF2F4765/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojkMohan_0-1754337369748.png" alt="ManojkMohan_0-1754337369748.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but the path ?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 19:58:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/127375#M47938</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-08-04T19:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/127386#M47944</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/155141"&gt;@ManojkMohan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ClientId&lt;/STRONG&gt; and &lt;STRONG&gt;Client Secret&lt;/STRONG&gt; are attributes of service principal. A service principal is a specialized identity in Azure Databricks designed for automation and programmatic access. Service principals give automated tools and scripts API-only access to Azure Databricks resources, providing greater security than using users accounts.&lt;/P&gt;&lt;P&gt;So, as a first step your databricks workspace or account admin needs to create for you service principal. &lt;STRONG&gt;Pay attention&lt;/STRONG&gt; -according to Salesforce documentation,&amp;nbsp; &lt;STRONG&gt;ClientID/ClientSecret authentication is only supported using Azure Databricks-managed Service Principals.&lt;/STRONG&gt; Microsoft Entra ID-managed principals are not supported.&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;connection url&lt;/STRONG&gt; is just url of your databricks workspace.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Http path&lt;/STRONG&gt; is a connection detail of your compute. How to find it is describes at below documentation entry:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/aws/en/integrations/compute-details" target="_blank" rel="noopener"&gt;https://docs.databricks.com/aws/en/integrations/compute-details&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Edit: Here's a video that you can check. It shows more or less how to configure connector&lt;/P&gt;&lt;P&gt;&lt;A href="https://youtu.be/DxTEOccMrXE" target="_blank" rel="noopener"&gt;https://youtu.be/DxTEOccMrXE&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 21:56:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/127386#M47944</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-08-04T21:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/127392#M47947</link>
      <description>&lt;P&gt;Have resolved it&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step 1: Create a Service Principal&lt;BR /&gt;Log in to your Databricks Workspace and navigate to the Admin Settings page by clicking your email in the bottom-left corner and selecting "Admin Settings".&lt;/P&gt;&lt;P&gt;Go to the Identity and access tab and click on Service principals.&lt;/P&gt;&lt;P&gt;Click the Add service principal button.&lt;/P&gt;&lt;P&gt;Give your Service Principal a descriptive name, for example, Salesforce Data Cloud Connector, and click Add.&lt;/P&gt;&lt;P&gt;Step 2: Get the Client ID&lt;BR /&gt;The Client ID is the unique identifier for the Service Principal you just created.&lt;/P&gt;&lt;P&gt;After creating the service principal, you will be taken back to the list. Click on the name of the service principal you just created (e.g., Salesforce Data Cloud Connector).&lt;/P&gt;&lt;P&gt;On the configuration page for the service principal, you will see a field labeled Application ID. This is your Client ID.&lt;/P&gt;&lt;P&gt;Copy this Application ID value. You will paste this into the "Client Id" field in Salesforce.&lt;/P&gt;&lt;P&gt;Step 3: Generate the Client Secret&lt;BR /&gt;The Client Secret is like a password for your Service Principal.&lt;/P&gt;&lt;P&gt;While still on the configuration page for your service principal, scroll down to the OAuth secrets section.&lt;/P&gt;&lt;P&gt;Click the Generate secret button.&lt;/P&gt;&lt;P&gt;Crucial Step: A dialog box will appear displaying your new secret. You must copy this secret now and store it in a secure location. You will not be able to see this value again after you close this window.&lt;/P&gt;&lt;P&gt;This generated value is your Client Secret. You will paste this into the "Client Secret" field in Salesforce.&lt;/P&gt;&lt;P&gt;Step 4: Grant Permissions to the SQL Warehouse&lt;BR /&gt;By default, a new Service Principal has no permissions. You must grant it permission to use the specific SQL Warehouse that Salesforce will connect to.&lt;/P&gt;&lt;P&gt;Navigate to the SQL Warehouses page in the SQL persona of your workspace.&lt;BR /&gt;Click on the name of the SQL Warehouse you want to use.&lt;BR /&gt;Click the Permissions button at the top-right.&lt;BR /&gt;In the permissions dialog, find and select the Service Principal you created (e.g., Salesforce Data Cloud Connector).&lt;BR /&gt;Grant it the Can use permission.&lt;BR /&gt;Click Add/Update.&lt;BR /&gt;Summary: What to Fill In Salesforce&lt;BR /&gt;Salesforce Field What to Enter&lt;BR /&gt;Client Id The Application ID you copied in Step 2.&lt;BR /&gt;Client Secret The OAuth Secret you generated and saved in Step 3.&lt;BR /&gt;After completing these steps, your Salesforce connector will have the correct credentials and permissions to securely authenticate with and query your Databricks workspace.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ManojkMohan_0-1754346883258.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18723i830D2E0FB2BC5DF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojkMohan_0-1754346883258.png" alt="ManojkMohan_0-1754346883258.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ManojkMohan_1-1754346964076.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/18724i2F966E1996C0C811/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojkMohan_1-1754346964076.png" alt="ManojkMohan_1-1754346964076.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 22:36:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/127392#M47947</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-08-04T22:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/177789#M57374</link>
      <description>&lt;P&gt;I know this is an old thread, but we recently had a similar task and ended up using Skyvia. We needed to move data between Salesforce and Databricks in both directions, and it worked well for us. We set up the field mapping and scheduled transfers without having to deal with ODBC or write custom scripts.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2026 11:01:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/177789#M57374</guid>
      <dc:creator>JeffreyW</dc:creator>
      <dc:date>2026-11-27T11:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce with Databricks connectivity</title>
      <link>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/177791#M57375</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Yes, you can integrate Salesforce with Databricks for both reading and writing data. However, I would recommend different approaches for each direction rather than relying entirely on ODBC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;1. Pull data from Salesforce into Databricks&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For supported Salesforce objects, Lakeflow Connect is a good option for managed ingestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can also use Salesforce REST or Bulk APIs when you need custom extraction logic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;2. Push data from Databricks to Salesforce&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For write-back operations, I would recommend Salesforce APIs.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;REST API for smaller, application-driven updates.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Bulk API 2.0 for large asynchronous insert, update and upsert operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;External IDs for idempotent upserts to help prevent duplicates during retries.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;For example, suppose you train a customer churn prediction model in Databricks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can extract customer records from Salesforce, generate churn scores using MLflow models and write those predictions back to a custom Salesforce field using the Bulk API.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;3. Challenges with ODBC&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ODBC can be useful when a compatible driver is available, but there are several considerations.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Driver compatibility and licensing.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;OAuth authentication and token refresh.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Salesforce API limits and throttling.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Performance with large datasets.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Data type mapping between Salesforce and Spark.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Driver-dependent support for write operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;I would generally avoid using ODBC as the primary mechanism for high-volume bidirectional synchronization.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;4. Production recommendations&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Use incremental ingestion where supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Maintain checkpoints or watermarks for extraction.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Implement retries with exponential backoff for transient API failures.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Use external IDs and idempotent write-back operations.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Monitor API consumption and failed records.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;Reconcile source and target data after synchronization.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;One important distinction is that Salesforce CRM and Salesforce Data Cloud support different integration patterns. Data federation allows supported data to be queried without traditional copying, but it does not automatically provide write-back to Salesforce CRM objects.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My recommendation is Lakeflow Connect for supported ingestion requirements and Salesforce REST or Bulk API 2.0 for write-back.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you confirm whether you are integrating Salesforce CRM or Salesforce Data Cloud, and approximately how many records you expect to push and pull daily?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That will help determine the most suitable architecture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Documentation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/salesforce-pipeline" target="_blank"&gt;&lt;SPAN&gt;https://learn.microsoft.com/en-us/azure/databricks/ingestion/lakeflow-connect/salesforce-pipeline&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.salesforce.com/docs/platform/api-asynch/guide/bulk-api-2-0.html" target="_blank"&gt;&lt;SPAN&gt;https://developer.salesforce.com/docs/platform/api-asynch/guide/bulk-api-2-0.html&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2026 11:11:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/salesforce-with-databricks-connectivity/m-p/177791#M57375</guid>
      <dc:creator>tajamulkhan</dc:creator>
      <dc:date>2026-11-27T11:11:31Z</dc:date>
    </item>
  </channel>
</rss>

