Skip to content

QuickBooks Setup

Create a QuickBooks app in the Intuit Developer Portal for accounting integration.

  1. Create an Intuit Developer Account

    Sign up at the Intuit Developer Portal if you don’t have one.

  2. Create a New App

    Click “Create an app” and select the QuickBooks Online and Payments platform. Choose your app type.

  3. Configure App Settings

    In your app’s Keys & OAuth section, enable the Accounting scope for full functionality.

  4. Add Redirect URI

    Add the redirect URI in both Sandbox and Production environments:

    https://api.switchboard.fpdigital.ai/oauth/quickbooks/callback
  5. Get Sandbox Credentials

    Copy the Client ID and Client Secret from the “Keys & credentials” tab. Start with Sandbox credentials for testing.

  6. Create Sandbox Company

    In the Sandbox section, create a test company with sample data for development and testing.

  7. Switch to Production (When Ready)

    After testing, submit your app for review to get Production credentials. Update your environment variables accordingly.

Terminal window
npx wrangler secret put QUICKBOOKS_CLIENT_ID
npx wrangler secret put QUICKBOOKS_CLIENT_SECRET
npx wrangler secret put QUICKBOOKS_SANDBOX # Set to "true" for sandbox
VariableDescription
QUICKBOOKS_CLIENT_IDClient ID from Intuit Developer Portal
QUICKBOOKS_CLIENT_SECRETClient Secret from Intuit Developer Portal
QUICKBOOKS_SANDBOXSet to “true” for sandbox environment, omit for production
https://api.switchboard.fpdigital.ai/oauth/quickbooks/callback

Organization members cannot disconnect the shared connection - only the person who connected or an admin can manage it.

  • Sandbox and Production use different credentials and companies
  • Access tokens expire after 1 hour
  • Refresh tokens expire after 100 days
  • Production apps require Intuit review for public distribution