> ## 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 ClayHR with API Key (Multiple Companies) – StackOne Hub

> Link a ClayHR account in the StackOne Hub using API Key (Multiple Companies). End-user guide to authorize the integration and start using ClayHR actions.

## Getting Your API Credentials

You need your API Key, User ID, and company subdomain to connect.

**1. Find Your Company Subdomain**

Your subdomain is the first part of your ClayHR URL. For example, if you access ClayHR at `https://acmecompany.clayhr.com`, your subdomain is `acmecompany`.

**2. Generate Your API Key**

In the ClayHR app:

<ul>
  <li>Hover over your user record in the top right corner</li>
  <li>Click on **My Integrations**</li>
  <li>Switch to the **Manage API Keys** tab</li>
  <li>Click **Generate API keys**</li>
  <li>Click **show** to copy your API key</li>
</ul>

**3. Find Your User ID**

Your User ID is displayed on the same **My Integrations** screen where you generated your API key, or on your user record page.

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