> ## 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 PayCaptain with API Key – StackOne Hub

> Link a PayCaptain account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using PayCaptain actions.

## Request a PayCaptain API key

PayCaptain issues API keys on request rather than from a self-service settings page. Each key comes with the company code that identifies your PayCaptain company.

**1. Submit an API key request**

Go to [Request an API key](https://developer.paycaptain.com/api-key) and tell PayCaptain who you are and what you will build.

**2. Receive your key and company code**

Once PayCaptain confirms your details you receive two values, an **API key** and your **company code** (for example ABC).

**3. Paste both values into StackOne**

Enter the API key in the **API Key** field and the company code in the **Company Code** field, then save the connection. StackOne verifies it by listing employees.

<ul>
  <li>Store the key securely. PayCaptain requires it to be used server-side only.</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.