Download Salesforce JDBC Driver

Download the Salesforce JDBC driver, copy the JDBC URL into DbSchema, and start designing schemas with ER diagrams — free Community Edition.

Connect Salesforce in DbSchema Install the driver, open a connection, reverse engineer your schema, and sync changes visually.

About the Salesforce JDBC driver

A JDBC driver is a Java .jar library that lets applications connect to Salesforce. DbSchema uses JDBC to reverse engineer schemas, run SQL, and generate documentation. Driver files are usually published by the database vendor or an open-source project.

JDBC URL format

Host, port, database name, and SSL options are passed in a URL starting with jdbc:. Each Salesforce driver uses its own syntax — see the connection details below.

The Salesforce JDBC driver

Salesforce is the world's leading CRM platform, storing customer, lead, opportunity, and support data in its cloud database (Salesforce Objects). The JDBC driver exposes Salesforce objects as SQL tables, enabling standard SQL tools to query and report on CRM data.

The Salesforce JDBC URL

  • Required File(s): dbschema-salesforce-jdbc-xxx.jar
  • Java Driver Class: com.dbschema.salesforce.SalesforceJdbcDriver
  • URL:
    • jdbc:dbschema:salesforce://
    • jdbc:dbschema:salesforce://tables=all
    • jdbc:dbschema:salesforce://sessionid=PARAM
    • jdbc:dbschema:salesforce://sessionid=PARAM&tables=all
    • jdbc:dbschema:salesforce://user=...&password=...
  • Website: GitHub Salesforce Open Source JDBC Driver

Download Salesforce JDBC Driver

The driver archive is a zip file. Extract it and load the .jar files using DbSchema's Driver Manager.

The DbSchema Salesforce JDBC Driver is Open Source

The driver is built by the DbSchema team and is free and open source. The driver source code can be found on GitHub.

Visit GitHub Driver Source Code

How To Create a Salesforce Database

Salesforce database is a cloud hosted database. You can register for a free trial account at https://login.salesforce.com/. There you have to go on 'View Profile Settings' on top right and follow the link on the left to 'Reset Security Token'. You will receive a security token per email. When logging in using DbSchema enter in the password field the regular web login password concatenated with the security token. More details in DbSchema help.

DbSchema and Salesforce

DbSchema connects to Salesforce using the open-source JDBC driver and renders Salesforce standard and custom objects as tables in the schema diagram. Use the Query Builder to compose SOQL-equivalent SELECT queries against Salesforce records.

Test the driver with DbSchema

Connect Salesforce, build your first ER diagram in minutes. No account required.

1
Download driver & DbSchema

Get the Salesforce driver zip below and install DbSchema for Windows, macOS, or Linux.

2
Register the .jar

In DbSchema, open Driver Manager, add the extracted JAR, and paste your JDBC URL.

3
Design & document

Reverse engineer Salesforce, edit the model visually, and publish schema documentation.

Use Salesforce visually in DbSchema

After the JDBC driver connects, you get ER diagrams, SQL editor, schema sync, and HTML documentation in one desktop app. Compare DbSchema editions.

ER diagrams

Reverse engineer Salesforce into an interactive diagram and edit structures visually.

SQL & query builder

Run SQL with autocomplete or compose queries without writing every join by hand.

Schema documentation

Export HTML docs your team can browse without installing DbSchema.

Full Salesforce guide

Connection tips, ports, SSL, and schema design workflows on the database landing page.