Skip to content
Last updated

FreshBooks integration

FreshBooks is cloud-based accounting software designed for small businesses and freelancers. The integration connects your FreshBooks account to Frontegg Agen for Work, enabling AI agents to manage clients, invoices, expenses, payments, projects, and time entries on your behalf.


Prerequisites

Connect FreshBooks

Step 1: Open the FreshBooks developer portal

Go to my.freshbooks.com/#/developer and sign in. You will land on the Apps page. Click Create New App.

FreshBooks developer portal Apps page

Step 2: Fill in the application details

In the Create Application dialog that appears, enter the following:

  • Application NameFrontegg Integration
  • Application TypePrivate App
  • Website URL — your application URL (e.g., https://your-app.com)

FreshBooks Create Application form

Step 3: Configure OAuth scopes

Scroll to the Scopes section and click Add Scope. Add each of the following scopes:

ScopeDescription
user:profile:readRead user profile information
user:clients:readRead clients
user:clients:writeCreate and update clients
user:invoices:readRead invoices
user:invoices:writeCreate and update invoices
user:expenses:readRead expenses
user:expenses:writeCreate expenses
user:payments:readRead payments
user:payments:writeRecord payments
user:projects:readRead projects
user:projects:writeCreate and update projects
user:time_entries:readRead time entries
user:time_entries:writeCreate time entries
user:account:readRead account information
user:teams:readRead team members
user:teams:writeManage team members
user:reports:readRead financial reports

FreshBooks OAuth scopes

Step 4: Configure the redirect URL

In the Redirect URIs section, enter your Frontegg Redirect URL and click the confirm button:

  • https://YOUR_MCP_GATEWAY_URL/integration-callback

FreshBooks redirect URI and remaining scopes

Step 5: Save and copy credentials

Click Save to create the application. Then click on your app in the list to open its settings page. Scroll down to find the Client ID and Client Secret fields.

Copy both values — you will need them in the next step.

FreshBooks Client ID and Client Secret

Configure the Frontegg portal

Once you have obtained your Client ID and Client Secret from the steps above, enter them in the integration configuration page of the Frontegg portal:

  1. Open the Frontegg portal and navigate to your environment → IntegrationsFreshBooks.
  2. Enter the Client ID and Client Secret in the corresponding fields.
  3. Select the required scopes.
  4. Click Save.

Keep your credentials secure

Never share or commit your Client Secret to version control.

Additional resources