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

# Connect Oyster HR with OAuth 2.0 (Multiple Companies) – StackOne Hub

> Link a Oyster HR account in the StackOne Hub using OAuth 2.0 (Multiple Companies). End-user guide to authorize the integration and start using Oyster HR actions.

> [!WARNING]
>
> You need a Company Admin role in Oyster HR to create a Developer Application and to grant it access.

## Create an Oyster Developer App

Create a Developer App in the Oyster Developer Portal of your own company to obtain your OAuth credentials. A sandbox app and a production app are different apps with different credentials, so create the app in the environment (Production or Sandbox) your administrator selected for this profile.

**1. Sign in to OysterHR**

Sign in to your OysterHR account using the URL for your environment.

<ul>
  <li>For the **Production** environment, sign in to the [Oyster HR app](https://app.oysterhr.com).</li>
  <li>For the **Sandbox** environment, sign in to the [Oyster HR sandbox](https://sandbox.oysterhr.com/users/sign_in).</li>
</ul>

**2. Navigate to Developer Portal**

Navigate to the Developer section to create a new application.

<ul>
  <li>In the sidebar, navigate to **Company** → **Developer**.</li>
  <li>Click **Create new Developer Application**.</li>
</ul>

**3. Create a new Developer App**

Fill in the application details. The **Name** field is required to create the application successfully.

<ul>
  <li>Enter a **Name** (e.g., StackOne Integration).</li>
  <li>Optionally enter a **Description**.</li>
  <li>Set the **Redirect URL** to the **Callback URL** from your Connector Profile.</li>
  <li>Under **Permissions**, select the permissions required for your integration.</li>
  <li>⚠️ Important: The first permission — **Read all information on the Oyster Platform** — is mandatorily required in order to connect the account successfully.</li>
  <li>Accept the **Developer Terms of Service**.</li>
  <li>Click **Submit**.</li>
</ul>

**4. Copy Client ID and Client Secret**

After clicking Save, the **Client ID** and **Client Secret** are shown in the dialog. Copy both now, because Oyster HR does not show the Client Secret again.

**5. Copy Authorization URL**

After successful creation, the application will appear in the Applications table.

<ul>
  <li>Find your application in the table and click the **Copy** button next to the **Authorization URL**.</li>
  <li>Format: `https://app.oysterhr.com/oauth/authorize/<app slug>` (or `https://sandbox.oysterhr.com/...` for Sandbox)</li>
  <li>Example: `https://app.oysterhr.com/oauth/authorize/qfwwjLuB`</li>
  <li>Enter the three values, then sign in to Oyster HR when StackOne opens the login page and grant the application access.</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


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