# QuickBooksOnline authentication

> To create a connection, you need the following credentials:
* OAuth 2.0 Authorization code: an Email address or a user ID associated with your account, and a Password to your account
* Bring your own OAuth 2.0 App: Client ID, Client Secret

## Prerequisites

To create a connection, you need the following credentials:
* OAuth 2.0 Authorization code: an Email address or a user ID associated with your account, and a Password to your account
* Bring your own OAuth 2.0 App: Client ID, Client Secret

:::warning
To avoid being impacted by QuickBooksOnline aggregate API usage limits on the shared UiPath public app, we recommend using the Bring your own OAuth 2.0 App authentication method.
:::

:::note
When registering your OAuth application in QuickBooks Online, make sure to set the [callback URL](connections#callback-url) to the value displayed on the connection creation page, for example `https://cloud.uipath.com/provisioning_/callback` for Automation Cloud.
:::

## Add the QuickBooksOnline connection

To create a connection to your QuickBooks instance, you need to perform the following steps:

1. Select Orchestrator from the product launcher.
2. Select a folder, and then navigate to the **Connections** tab.
3. Select **Add connection**.
4. To open the connection creation page, select the connector from the list. You can use the search bar to find the connector.
5. Choose the environment you want to access, **Production** or **Sandbox**, and then select **Connect**.
6. Enter the required credentials for your preferred authentication method. 
7. Select **Connect**.

   For any secret-type field, you can select the menu next to the field and choose **Use credential asset** to reference an Orchestrator credential asset linked to an external vault instead of entering the value directly. For more information, see [Use credential assets for connections](credential-store-connections.md).
