Quickstart
Create your first EndUser and connect to QuickBooks Desktop in 5 minutes.
The following server-side walkthrough will guide you through connecting a QuickBooks Desktop instance to your Conductor account. In just a few minutes, you’ll be able to create, read, and update data in your QuickBooks Desktop instance.
Requirements
- A Conductor API key pair: one secret key, one publishable key. To obtain these, please join our private beta.
- A QuickBooks Desktop instance for testing. If you do not have one, you can create a free test instance.
Create your first EndUser and IntegrationConnection
Install Conductor
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. You can attach one or more IntegrationConnections to this EndUser.
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 code on your server 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.