โ01-30-2024 12:55 PM
How can we connect with salesforce from databricks without using any third party jar files?
โ01-31-2024 06:06 AM
you could connect to the salesforce database directly using odbc/jdbc, if that is permitted.
But why not using an ETL tool to extract data, and use databricks for the processing?
โ02-02-2024 04:28 AM
Not able to connect from odbc/jdbc. Now using azure logic apps to extract data from salesforce
โ01-31-2024 06:50 AM
@NDK_1 : are you looking to keep it in sync with your salesforce periodically or two way sync ? Would love to understand the usecase more.
โ02-02-2024 04:25 AM
I am planning to use it as a two way sync, reading data from salesforce as well as writing data into salesforce
โ02-06-2024 12:50 AM
if you want to write to salesforce, it is probably a good idea to check the requirements.
Many of those huge software packages do not allow direct writes into the database. So you might need a licensed connector or something.
If you want to keep it in sync, I am leaning towards using an ETL tool.
โ02-04-2025 03:45 PM
You can connect to Salesforce from Databricks without using third-party JAR files by leveraging Python and the Salesforce REST API using the simple-salesforce library. Since simple-salesforce is a Python package, you can install it within your Databricks notebook and interact with Salesforce directly.
Install the simple-salesforce library in Databricks:
Authenticate and Connect to Salesforce:
Read Data from Salesforce:
Write Data to Salesforce:
Since you're looking for a two-way sync (reading and writing data), hereโs how you can:
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now