Download the Salesforce JDBC driver, copy the JDBC URL into DbSchema, and start designing schemas with ER diagrams — free Community Edition.
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.
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.
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.
Download Salesforce JDBC Driver
The driver archive is a zip file. Extract it and load the .jar files using DbSchema's Driver Manager.
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
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 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.
Connect Salesforce, build your first ER diagram in minutes. No account required.
Get the Salesforce driver zip below and install DbSchema for Windows, macOS, or Linux.
In DbSchema, open Driver Manager, add the extracted JAR, and paste your JDBC URL.
Reverse engineer Salesforce, edit the model visually, and publish schema documentation.
After the JDBC driver connects, you get ER diagrams, SQL editor, schema sync, and HTML documentation in one desktop app. Compare DbSchema editions.
Reverse engineer Salesforce into an interactive diagram and edit structures visually.
Run SQL with autocomplete or compose queries without writing every join by hand.
Export HTML docs your team can browse without installing DbSchema.
Connection tips, ports, SSL, and schema design workflows on the database landing page.