> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FreeAgent OAuth 2.0 connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 for FreeAgent in StackOne to allow users to link their accounts.

> [!WARNING]
>
> Connecting requires an active FreeAgent account (a free trial or paid subscription) to authorize against. This is separate from your FreeAgent Developer Dashboard account, which only provides the OAuth app credentials. The developer login does not work on the FreeAgent app sign-in during authorization, so without a FreeAgent account the connection will fail.

## Register an OAuth application

Register an application in the FreeAgent Developer Dashboard to obtain OAuth credentials for API access.

**1. Sign in to the FreeAgent Developer Dashboard**

Sign in to your [FreeAgent Developer account](https://dev.freeagent.com/login/).

<ul>
  <li>If you don't have a developer account, click **Sign up** to create one.</li>
</ul>

**2. Navigate to My Apps**

Click **My Apps** in the top navigation bar, then click **Create New App**.

![The FreeAgent Developer Dashboard with My Apps highlighted in the top navigation bar](https://mintcdn.com/stackone-60/zPot2v4lx7QWgaH0/connectors/freeagent/images/oauth2-setup-navigate-my-apps.png?fit=max\&auto=format\&n=zPot2v4lx7QWgaH0\&q=85\&s=489f2b6c2c4de03b48d226f56e86358b)

**3. Create a new app**

Complete the **Create a new app** form.

<ul>
  <li>Enter a **Name** (e.g., `StackOne Integration`)</li>
  <li>Enter a **Description** for your app</li>
  <li>Set the **OAuth Redirect URIs** to the **Callback URL** from your Connector Profile</li>
  <li>Leave **Enable Accountancy Practice API** unchecked — it only applies to accountancy-practice accounts that manage multiple clients, and checking it is not needed for a standard FreeAgent connection.</li>
  <li>Click **Create App**</li>
</ul>

![The Create a new app form with the Enable Accountancy Practice API checkbox highlighted](https://mintcdn.com/stackone-60/zPot2v4lx7QWgaH0/connectors/freeagent/images/oauth2-setup-create-app.png?fit=max\&auto=format\&n=zPot2v4lx7QWgaH0\&q=85\&s=2081ecddf46a7d8823f234a2f0e24db9)

**4. Copy Client credentials**

After creating the app, the OAuth credentials are displayed on the app details page.

<ul>
  <li>Copy the **OAuth identifier** (this is your Client ID)</li>
  <li>Copy the **OAuth secrets** value (this is your Client Secret)</li>
  <li>Store both values securely for use later</li>
</ul>

![The app details page with the OAuth identifier and OAuth secrets values masked](https://mintcdn.com/stackone-60/zPot2v4lx7QWgaH0/connectors/freeagent/images/oauth2-setup-copy-credentials.png?fit=max\&auto=format\&n=zPot2v4lx7QWgaH0\&q=85\&s=25cca944f71d76851258ad9a7b366e7a)

## Account access

FreeAgent's OAuth authorization does not use selectable permission scopes. When you connect an account, FreeAgent shows an **Approve account access** screen naming the app and asking the user to **Approve** or **Cancel** — approving grants the connection full access to that FreeAgent account, equivalent to what the API as a whole can do, with no narrower option.

**1. Approve account access**

When linking the account, sign in with an active FreeAgent account and click **Approve** on the authorization screen to grant access.

![The FreeAgent Approve account access screen with the Approve button highlighted](https://mintcdn.com/stackone-60/zPot2v4lx7QWgaH0/connectors/freeagent/images/oauth2-setup-authorize.png?fit=max\&auto=format\&n=zPot2v4lx7QWgaH0\&q=85\&s=315857f731b169e8c46f4609d3bfb592)

## Select Environment

When creating the connection in the StackOne Connector profile, select an **Environment**\
(**Production** or **Sandbox**) matching the FreeAgent account you are connecting —\
**Production** for a live FreeAgent account, or **Sandbox** for a free trial account.

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/freeagent/guides/link-account/oauth-2-0.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.