Language-Specific Client Libraries
If you’re developing an app that you want to integrate with Data Cloud data, use one of the Salesforce-provided client libraries. Libraries are available for the Java, Python, and Apex programming languages.
The language-specific client libraries include:
- Java: The CDP Java Database Connectivity (JDBC) driver allows for a JDBC connection to the Salesforce CDP ANSI SQL API. With this connection, you can access and retrieve data by using your favorite tools that are supported by JDBC. See Salesforce-CDP-jdbc in GitHub.
- Python: The CDP Python driver uses the Query API to extract data from Data Cloud into Python so that you can fetch data in Pandas DataFrames. With the data in your environment, you can create visual data models, perform powerful analytical operations, or build powerful machine learning and AI models as well. See CDP Python Connector in the Data Cloud Reference Guide.
- Apex: With Connect API in Apex, you can use Salesforce’s proprietary object-oriented programming language that executes on the Salesforce Platform. Using the methods in the CdpQuery Class, you can query data from Data Cloud in your Apex code.