# Quickbooks

First, you need to set an Quickbooks key and endpoint through the Backoffice in order to provide the Quickbooks components to your customers.\
go to the <https://developer.intuit.com/app/developer/dashboard> to create a new app

<figure><img src="/files/zVSsm6tx7rLXgtPrS4Rb" alt=""><figcaption></figcaption></figure>

Select the name and scope: \\

<figure><img src="/files/QS4uwFMAin7fBkIXk9l2" alt=""><figcaption></figcaption></figure>

Then you receive your *clientID* and *clientSecret*. Also add the redirect URL (<https://api.appmixer.com/auth/quickbooks/callback>) \\

<figure><img src="/files/iTBdls6fio3pRh4SEPtV" alt=""><figcaption></figcaption></figure>

go the Appmixer BackOffice -> Configuration. Add new configuration: `appmixer:quickbooks` Add your *clientId* and *clientSecret* keys

## Webhooks

All trigger components (for example `NewInvoice`) use QuickBooks webhooks. In order to use this component(s) in Appmixer, you have to register Appmixer's QuickBooks URI in QuickBooks first and set the webhook key in the Appmixer BackOffice.

Go to <https://developer.intuit.com/app/developer/dashboard> then choose your Appmixer app. Navigate to the "Webhooks" section either for the sandbox or production environment and add a new webhook.

<figure><img src="/files/7A8jUcn9mkM3Gt9mvKMl" alt=""><figcaption><p>QuickBooks Webhooks configuration</p></figcaption></figure>

Fill the field **Endpoint URL** with `https://api.acme.appmixer.cloud/plugins/quickbooks/webhooks` (replace `acme` with your subdomain) and select the events you want to listen to. Configure the event triggers you want to listen to.

<figure><img src="/files/MJEXm23n6lpUQTtqdUmo" alt=""><figcaption><p>QuickBooks Webhooks event triggers</p></figcaption></figure>

For detailed steps, see [QuickBooks documentation](https://developer.intuit.com/app/developer/qbo/docs/develop/webhooks#endpoints).

Make sure to copy the **Verifier Token** and paste it to the Appmixer BackOffice -> Configuration -> `appmixer:quickbooks` -> `webhookKey` field.

<figure><img src="/files/19fuS63nSHhd8bLpVuQx" alt=""><figcaption><p>Appmixer BackOffice configuration for QuickBooks Webhooks</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.appmixer.com/6.0/6.1/app-registration/quickbooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
