Quickstart
Connect to QuickBooks Desktop via a modern API in 5 minutes.
Getting started
Welcome! 👋 Follow the instructions below to learn how to connect your QuickBooks Desktop instance and start working with your data in just a few minutes. Fetch, create, and update any object type in real-time with our modern APIs and SDKs.
1. Getting your API keys
Create a Conductor account
Sign up for a Conductor account here.
Create an organization
Create an organization in the Conductor dashboard. This should be the name of your company.
Select a project
In the organization you created, let’s select the “testing” project. An organization can have multiple projects, but we’ll use this one for now.
Find your project's API keys
In the project you selected, navigate to the API Keys tab and find your project’s Secret Key and Publishable Key. You’ll need these to authenticate your requests.
2. Connecting Conductor to QuickBooks Desktop
Required: A QuickBooks Desktop instance for testing. If you do not have one, you can create a free test instance.
Install a Conductor library (optional)
Create an EndUser and save its ID to your database
An EndUser is a user of your application for whom we are creating an IntegrationConnection. Each EndUser can represent an individual or an entire company/organization of multiple users within your application.
After you create your EndUser, you must save the EndUser’s id
to your database for sending requests to their IntegrationConnections in the future.
For example, if your database has a users
table, you can store the id
in a column like conductor_end_user_id
.
Either create the EndUser via the web dashboard or use the following server-side code to create an EndUser programmatically:
This API call will return the newly created EndUser object, for example:
Create an AuthSession
Before you can read/write data to/from an EndUser’s IntegrationConnection, your EndUser must complete the connection authentication flow. The following operation creates a session and returns a URL to redirect your end-user.
Complete the authentication flow
Visit the returned authSession.authFlowUrl
in your browser on the same computer or instance as your QuickBooks Desktop installation. This authentication flow will guide you through connecting your QuickBooks Desktop instance to Conductor.
You're done!
After completing the authentication flow, you can access your QuickBooks Desktop instance through the Conductor library. The following example fetches a list of invoices from your QuickBooks Desktop instance.