1. What Margin Needs
From your finance/data team:- An Intuit developer app with Client ID and Client Secret
- OAuth redirect URI set to the callback URL shown in Marginโs integration setup
- Tenant-scoped QuickBooks authorization (per-company connection)
- Optional Realm ID (Margin can usually detect this automatically after authorization)
2. Create and Configure the Intuit App
- Create an account in the Intuit Developer portal.
- Create a new QuickBooks Online and Payments app.
- In app settings, add redirect URI:
- the callback URL shown in Margin
- Copy Client ID and Client Secret from Keys and credentials.
- (Optional for testing) create a sandbox company and note the Company ID / Realm ID.
3. Configure the Integration in Margin
| Field | Value |
|---|---|
| Environment | Production or Sandbox |
| Client ID | Intuit app client ID |
| Client Secret | Intuit app client secret |
| Realm ID | Optional override; can be auto-discovered |
4. Scopes and Token Behavior
- Common scope:
com.intuit.quickbooks.accounting - Optional scope:
com.intuit.quickbooks.payment - Access tokens are short-lived (~1 hour), but refresh is handled automatically by Margin.
5. Useful References
Next Steps
Once QuickBooks is connected, continue to data modelling.๐ Data Modelling
Align accounting data with your event data for reconciled unit economics

