DBSync: Integrate QuickBooks and Salesforce
![DBSync Logo DBSync Logo](https://financesonsf.com/wp-content/uploads/2024/03/DBSync-logo.png)
Table Of Content
Overview
DBSync is a Salesforce app created to facilitate integration between Salesforce, a customer relationship management (CRM) platform, and QuickBooks Online, an accounting software. This integration enables businesses to synchronize their financial workflows by allowing bidirectional data sync between Salesforce and QuickBooks Online.
The main purpose of DBSync is to reduce manual data entry tasks and promote collaboration between different departments, especially sales and finance. By connecting Salesforce and QuickBooks Online, DBSync ensures that data updates, such as customer information, opportunities, and invoices, are reflected in minutes across both platforms.
Video Guide for DBSync
Here is a video guide demonstrating the setup and generation of invoices from Accounts and Opportunity Products in DBSync.
Entity Relationship Diagram for DBSync
Below is an Entity Relationship Diagram (ERD) to visualize the objects and data flow from Salesforce to QuickBooks via DBSync.
DBSync – Install Package from AppExchange
- The initial step is to log onto the AppExchange and search for DBSync.
- Once in the listing QuickBooks Online/Desktop Integration with Salesforce, click on ‘Get It Now‘.
- Follow the steps requested by the AppExchange.
- You can select ‘Install for Admins Only‘ to start with. You will be able to assign Permissions to others later on in the setup.
- After Installation, you will find it in the Installed Packages section.
![DBSync In AppExchange DBSync In AppExchange](https://financesonsf.com/wp-content/uploads/2024/03/DBSync_in_AppExchange.png)
DBSync – Package Configuration and Setup Guide
- After installing the DBSync app, you can open either the DBSync app or the Sales app in the App Launcher.
- You can use any of these apps to manage and sync data.
Step 1 – One-time set-up in Salesforce
- To manage and sync data using the DBSync app, it is crucial to add some mandatory fields to the Page Layout of certain objects.
- Without adding these fields, DBSync won’t be able to sync data.
Update the page layout of the Account Object
- Go to Setup > Object Manager.
- Search for the Account object in Quick Find.
- Click on the Page Layouts of the Account Object.
- Click on the Account Layout.
- Add a new section to the page and rename it as DBSync.
- Drag and drop some mandatory fields, i.e., QuickBooks Id, QuickBooks Error, and Fax into a new section.
- Save the page layout.
![Edit Account Page Layout Edit Account Page Layout](https://financesonsf.com/wp-content/uploads/2024/03/edit-account-page-layout.png)
Update the page layout of the Product Object
- Go to Setup > Object Manager.
- Search for the Product object in Quick Find.
- Click on the Page Layouts of the Product Object.
- Click on the Product Layout.
- Add a new section to the page and rename it as DBSync.
- Drag and drop some mandatory fields, i.e., QuickBooks Id, QuickBooks Error, COGS, OnHand, and QuickBooks Item Type into a new section.
- Save the page layout.
![Edit Product Page Layout Edit Product Page Layout](https://financesonsf.com/wp-content/uploads/2024/03/edit-product-page-layout.png)
Update the page layout of the Opportunity Object
- Go to Setup > Object Manager.
- Search for the Opportunity object in Quick Find.
- Click on the Page Layouts of the Opportunity Object.
- Click on the Opportunity Layout.
- Add a new section to the page and rename it as DBSync.
- Drag and drop some mandatory fields, i.e., QuickBooks Id, QuickBooks Error, Generate, Products Count, and Primary Contact into a new section.
- Save the page layout.
![Edit Opportunity Page Layout Edit Opportunity Page Layout](https://financesonsf.com/wp-content/uploads/2024/03/edit-opportunity-page-layout.png)
Update the page layout of the Opportunity Product Object
- Go to Setup > Object Manager.
- Search for the Opportunity Product object in Quick Find.
- Click on the Page Layouts of the Opportunity Product Object.
- Click on the Opportunity Product Layout.
- Add a new section to the page and rename it as DBSync.
- Drag and drop the mandatory fields, i.e., QuickBooks Id into a new section.
- Save the page layout.
![Edit Opportunity Product Page Layout Edit Opportunity Product Page Layout](https://financesonsf.com/wp-content/uploads/2024/03/edit-opportunity-product-page-layout.png)
Step 3 – Launch Development Studio
- After logging in to DBSync, you will see the screen below.
- Click on ‘Launch Development Studio‘ to open the development studio of DBSync.
![Step 03 Launch Development Studio Step 03 Launch Development Studio](https://financesonsf.com/wp-content/uploads/2024/03/step-03-launch-development-studio.png)
Step 4 – Select Template Library
- Click on the ‘Import‘ button to select ‘Salesforce and QuickBooks Online Bi-Directional‘ as your template library.
![Step 04 Select Template Library Step 04 Select Template Library](https://financesonsf.com/wp-content/uploads/2024/03/step-04-select-template-library.png)
Step 5 – Configure your Salesforce and QuickBooks Online Connector
- After importing your template library.
- Here, configure your Salesforce and QuickBooks Online Rest Connector.
- Click on the ‘Edit’ button to set up your respective Connector.
Configure QuickBooks Online Rest Connector
- To configure the QuickBooks Online Rest Connector, click on the ‘Edit‘ button.
![Step 05 Configure QuickBooks Online Rest Connector Step 05 Configure QuickBooks Online Rest Connector](https://financesonsf.com/wp-content/uploads/2024/03/step-05-configure-QuickBooks-Online-Rest-Connector.png)
Connect to QuickBooks Online
- To connect to QuickBooks Online, select your QuickBooks Online environment, either as a Production Instance or a Sandbox Instance.
- After selecting your QuickBooks environment, click on the ‘Connect to QuickBooks‘ button.
- Upon clicking, you will be redirected to the QuickBooks Online login.
- After successful login, you will be prompted to allow access, followed by connecting to QuickBooks Online.
![Step 06 Connect To QuickBooks Online Step 06 Connect To QuickBooks Online](https://financesonsf.com/wp-content/uploads/2024/03/step-06-connect-to-QuickBooks-Online.png)
- After connecting to QuickBooks Online, click on the ‘Advanced Properties‘ option.
- Now, validate the connection by clicking on the ‘Validate Connection‘ button.
- Finally, click on the ‘Save‘ button.
![Validate QuickBooks Online Connection Validate QuickBooks Online Connection](https://financesonsf.com/wp-content/uploads/2024/03/validate-QuickBooks-Online-connection.png)
Configure Salesforce Connector
- To configure the Salesforce Connector, click on the ‘Edit‘ button.
![Step 07 Configure Salesforce Connector Step 07 Configure Salesforce Connector](https://financesonsf.com/wp-content/uploads/2024/03/step-07-configure-Salesforce-Connector.png)
Connect to Salesforce
- To connect to Salesforce, select your Salesforce End Point, either as Production/Developer Instance or Sandbox Instance.
- After selecting your Salesforce End Point, click on the ‘Connect to Salesforce‘ button.
- Upon clicking, you will be redirected to the Salesforce login.
- After successful login, you will be prompted to allow access, followed by connecting to Salesforce.
![Step 08 Connect To Salesforce Step 08 Connect To Salesforce](https://financesonsf.com/wp-content/uploads/2024/03/step-08-connect-to-Salesforce.png)
- After connecting to Salesforce, click on the ‘Advanced Properties‘ option.
- Now, validate the connection by clicking on the ‘Validate Connection‘ button.
- Finally, click on the ‘Save‘ button.
![Validate Salesforce Connection Validate Salesforce Connection](https://financesonsf.com/wp-content/uploads/2024/03/validate-Salesforce-Connection.png)
Generating a new Invoice using the Opportunity Products
- Go to the ‘Opportunities‘ tab to create a new invoice using the Opportunity products.
- Click on an existing Opportunity or create a new Opportunity.
- Then, fill in all the required details.
- Click on the ‘Save‘ button.
![Create New Opportunity Create New Opportunity](https://financesonsf.com/wp-content/uploads/2024/03/create-new-opportunity.png)
- Make sure that you have added products; you can add the products from the Products section.
- If you don’t add products to the opportunity while creating an invoice, the invoice won’t be pre-populated with opportunity products. Since there are no Opportunity Products on this Opportunity.
![Added Products Added Products](https://financesonsf.com/wp-content/uploads/2024/03/added-products.png)
- After adding the products, now edit the Opportunity.
- Update the ‘Generate‘ field from ‘None‘ to ‘Invoice‘.
- Click on the ‘Save‘ button.
![Generate As Invoice Generate As Invoice](https://financesonsf.com/wp-content/uploads/2024/03/generate-as-invoice.png)
- In the image below, you can see that the opportunity has been created.
![Created Opportunity Created Opportunity](https://financesonsf.com/wp-content/uploads/2024/03/created-opportunity.png)
- Now, go to the DBSync website, and launch the Development Studio.
- Click on the ‘Projects‘ option, and edit the SalesforceQBonline Project.
![Edit Project On DBSync Edit Project On DBSync](https://financesonsf.com/wp-content/uploads/2024/03/edit-project.png)
- Now, after editing the SalesforceQBonline process.
- Navigate to the second page and run the SFQB_OpportunityToInvoice process.
![Run SFQB_OpportunityToInvoice Process Run SFQB_OpportunityToInvoice Process](https://financesonsf.com/wp-content/uploads/2024/03/run-SFQB_OpportunityToInvoice-process.png)
- You will see the screen below after the process is completed.
![Process Completed Process Completed](https://financesonsf.com/wp-content/uploads/2024/03/process-completed.png)
- Now, again, switch back to Salesforce, open the app, and check the Opportunity to see if it’s updated.
- You will see the updated Quickbooks ID, as shown in the image below.
- Your invoice has been created.
![Generated Invoice In DBSync Generated Invoice In DBSync](https://financesonsf.com/wp-content/uploads/2024/03/generated-invoice-in-DBSync.png)
Note: By default, DBSync doesn’t allow automatic sync. To enable automatic syncing of data, you need to add a schedule.
- To add a schedule, go to the DBSync website and launch the Development Studio.
- Select and edit the project to which you want to add a schedule.
- Click on the ‘Scheduler‘ option. Now, add a schedule by specifying the process for auto-syncing your data and the time at which the scheduler runs automatically.
- Click on the ‘Save‘ button.
![Add Schedule Add Schedule](https://financesonsf.com/wp-content/uploads/2024/03/add-schedule.png)
Frequently Asked Questions (FAQs)
What is DBSync, and why is it essential for businesses using Salesforce and QuickBooks Online?
DBSync is a Salesforce app created to facilitate integration between Salesforce, a customer relationship management (CRM) platform, and QuickBooks Online, an accounting software. Its main purpose is to ensure that data updates, such as customer information, opportunities, and invoices, are reflected in minutes across both platforms.
Does DBSync allow Bi-Directional Sync?
Yes, DBSync enables data flow between Xero and your systems in both directions, ensuring consistency.
What types of data can be synchronized between Salesforce and Xero using DBSync?
DBSync can synchronize various types of data, including customer information, sales data, and financial transactions. The goal is to create a unified view of customer relationships and financial activities.