# QuickBooks

## Connection <a href="#connect" id="connect"></a>

When you're setting up your first workflow with QuickBooks, you'll need to connect MESA with QuickBooks.

Click on the **Connect with QuickBooks** button.

![](https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2Fgit-blob-00b96ff03f16bf1192d1662dddbb53f1f29cdfd5%2Ffile-byn9gt820n.png?alt=media)

Afterward, you can re-use the newly created connection and select it for your future workflows!

If you connect Quickbooks with a MESA trigger, you must enter your Quickbook's Company ID.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FTBrEpYpRZlXNoOJpodnY%2Fimage.png?alt=media&#x26;token=0697f29c-d3c7-4b5d-8b22-04c781e3608a" alt=""><figcaption></figcaption></figure>

To locate your Company ID, log in to the Quickbooks dashboard and click on the gear icon (Settings).

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FmEXsZ3qC4O19zQA9qY2O%2Fimage.png?alt=media&#x26;token=088fbd25-f7ac-43e0-990f-29308fdde40b" alt=""><figcaption></figcaption></figure>

Under **Profile**, click on **Subscriptions and billing**.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FZb6ERFGUPqAKbaIgGHrF%2FScreenshot%202024-04-16%20at%2012.31.04%E2%80%AFPM.png?alt=media&#x26;token=e7ba4826-528d-4e3e-845a-2104c8fdfa03" alt=""><figcaption></figcaption></figure>

Then, copy the numbers next to the **Company ID** and paste it into your Quickbooks Trigger.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FsOebPDTv2ctqZqrcUQ6y%2Fimage.png?alt=media&#x26;token=badb6258-2392-47a5-bf66-17f842fe0d35" alt=""><figcaption></figcaption></figure>

**After pasting, please remove any spaces before, after, and in the middle of the numbers.** Then, **Save** your workflow.

<figure><img src="https://3425906282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1H6u1HQc3Iew7ATmmiCi%2Fuploads%2FTxsr5hn5SOjHVQNsygKl%2Fimage.png?alt=media&#x26;token=c0b25085-a4f4-451d-8ae2-f682eb8d3bc8" alt=""><figcaption></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.getmesa.com/connect/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.
