Freshbooks
FreshBooks is a web-based accounting software as a service (SaaS). It includes invoicing, accounts payable, expense tracking, time tracking, retainers, fixed asset depreciation, purchase orders, payroll integrations, mileage tracking, double-entry accounting, and industry-standard business and management reporting.
In order to integrate FreshBooks with Relyance AI you will need a Client ID, Client Secret, and to follow an OAuth2 flow.
In FreshBooks:
- Login to your FreshBooks account.
- Go here: https://my.freshbooks.com/#/developer
- Click the Create New App button.
- Use the following settings for your App: Application Name: Provide a meaningful name ( e.g. Relyance AI ) Application Type: Private App Scopes: Redirect URL: https://root.relyance.ai/api/oauth2 ( ensure you press the checkmark button to accept ) Logo (optional): Use the attached logo.

- Click Save.
- Go back into your newly created App and copy the Client ID and Client Secret to be used in Relyance.
In the Relyance AI application:
- Login to your Relyance account.
- Navigate to the Settings Menu in the bottom left-hand side.
- Select Integrations.
- Click on the Vendor Integration tab.
- Find the FreshBooks integration card and click it to open its connections.
- Under Authentication Method, choose OAuth2 / App Token.
- Paste the Client ID and Client Secret into their respective fields.

- Click Authenticate.
- This will bring your to FreshBooks to authorize Relyance AI. Click Allow.

- At this point, you should see the following result on the Vendor Integrations page:

- Congratulations, you are now connected to FreshBooks.
If the connection reports Connected but returns nothing
These are the ways this integration comes back empty without reporting an error. Generated from the integration catalog, so it tracks what the connection actually asks for.
- Authorised, then empty. The connection carries an authorisation, not a password: it stops returning data if the account that granted it loses access, its own permissions narrow, or the grant is revoked at the vendor. None of that reports an error here -- the connection keeps its last status until the next scan.
- A credential rotated at the vendor is not picked up here. Client Secret is stored when you save the connection, so regenerating the value at the vendor breaks the next scan until it is re-pasted here. Recording the expiry on the connection means Relyance warns you before it lapses.
Manage this integration with Terraform
Connections for this integration can be managed as code with the Relyance Terraform provider. Non-secret fields go in auth.params; secret fields go in auth.secrets_wo, which is write-only — never stored in Terraform state. Rotate secrets by bumping auth.secrets_wo_version.
The OAuth (browser authorization) method uses a browser authorization flow, so the connection is created in the Relyance app. Manage it in Terraform afterwards by importing it (terraform import relyance_integration_connection.example freshbooks/<connection_id>) or reading it with the relyance_integration_connection data source.