> ## 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.

# Gusto OAuth 2.0 connector profile – StackOne setup guide

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

> [!WARNING]
>
> A Gusto Developer Portal account is required to register an OAuth application. The steps in this guide require Admin Payroll Role privileges in your Gusto account. Production credentials require pre-approval from Gusto's Partnerships team, requested by completing the Production Pre-Approval application in the Developer Portal. Once approved, the production credentials are available in your Developer Portal. Multi-company administrators must complete OAuth separately for each company.

## Register an OAuth Application

An OAuth application in the Gusto Developer Portal provides the credentials for API access.

**1. Create the application**

Sign in to the [Gusto Developer Portal](https://dev.gusto.com/), then register the application.

<ul>
  <li>Click **Applications** in the left sidebar.</li>
  <li>Click **Create application**.</li>
  <li>**Application name**: A name that identifies this integration</li>
  <li>**Organization**: Select your organization from the dropdown</li>
  <li>**Redirect URI**: Enter the **Callback URL** from your Connector Profile</li>
  <li>**Category**: Select the appropriate category for your integration</li>
  <li>If building a time tracking integration, check **Disable Gusto's time tracking features**.</li>
  <li>Click **Create** to register the application.</li>
</ul>

**2. Copy the Client ID and Client Secret**

The application credentials page shows your **Client ID** and **Client Secret**. Initial credentials give access to the Demo environment.

<ul>
  <li>Copy the **Client ID** and **Client Secret** into your Connector Profile.</li>
</ul>

**3. Select the environment**

In your Connector Profile, select the environment the credentials are for. Gusto issues separate demo and production credentials.

<ul>
  <li>**Sandbox**: demo credentials (`https://api.gusto-demo.com`)</li>
  <li>**Production**: credentials issued after Gusto approves production access (`https://api.gusto.com`)</li>
</ul>

## 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/gusto/guides/link-account/oauth-2-0.md).


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