> ## 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 Eploy with OAuth 2.0 (Client Credentials) – StackOne Hub

> Link a Eploy account in the StackOne Hub using OAuth 2.0 (Client Credentials). End-user guide to authorize the integration and start using Eploy actions.

> [!WARNING]
>
> Ensure you have Admin privileges for your Eploy account.

## Getting your Subdomain

Your subdomain is used to identify your Eploy instance.

**1. Find the Subdomain**

You can find the subdomain in the URL of your Eploy account by taking the portion that appears before `.eploy.net` and after `https://`.

<ul>
  <li>Example URL: `https://stackone.eploy.net/`</li>
  <li>Subdomain value: `stackone`</li>
</ul>

## Generating Client ID and Client Secret

You need to create an API key in Eploy to generate the Client ID and Client Secret.

**1. Navigate to API Keys**

In the top navigation bar go to **Admin** → **System / Security Settings** → **API Keys**.

**2. Create a New API Key**

On the top-right select **New** → **Rest API**.

**3. Name the API Key**

Enter a title for the API Key, for example: `StackOne`.

<ul>
  <li>Select an **API User** for your API Key to use</li>
  <li>Click **Save**</li>
</ul>

**4. Record Client ID and Client Secret**

Your **Client ID** and **Client Secret** will be generated and displayed to you.

<ul>
  <li>Copy both values and store them securely for use later</li>
  <li>These credentials are only shown once</li>
</ul>

**5. Assign API Permissions**

Assign API permissions based on the integration requirements by clicking on the **Add** button.

<ul>
  <li>Select and enable each required API permission (Actions, Applications, Candidates, Companies, Contacts, Files, Placements, Timesheets, Users, Vacancies, etc.)</li>
  <li>Click **Save** for each permission added</li>
</ul>

## Configuring Scopes (Optional)

You can optionally restrict API access by specifying scopes.

**1. Understanding Scopes**

Scopes control which API operations are allowed. If not specified, all scopes assigned to the API key will be available.

<ul>
  <li>Format: comma-separated list (e.g., `candidates.read,candidates.insert,applications.read`)</li>
  <li>Only scopes assigned during API key configuration will be allowed</li>
  <li>Leave blank to use all available scopes</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.