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

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

> [!WARNING]
>
> TriNet issues API credentials only after it reviews your integration request. Apps you create yourself in the developer portal have no API access.

## Getting your API credentials

TriNet provisions a Client ID and Client Secret for your integration once it approves your request and the TriNet customer authorizes the APIs.

**1. Request API access**

On the [TriNet API Getting Started page](https://developers.trinet.com/get-started), submit the request form describing your use case.

<ul>
  <li>The TriNet integrations team contacts you, usually within 3 to 5 business days, to schedule an API Discovery call.</li>
  <li>The TriNet customer must authorize the requested APIs before TriNet provisions the credentials.</li>
</ul>

**2. Create a developer account**

Register on the [TriNet PEO Developer Portal sign-up page](https://developers.trinet.com/accounts/create).

<ul>
  <li>TriNet reviews new accounts and sends a confirmation email, usually within 2 to 3 business days.</li>
</ul>

**3. Copy the credentials**

Sign in to your [TriNet PEO Developer Portal account](https://developers.trinet.com/accounts/login), then open **My Apps**, where TriNet provisions the API access for your integration.

<ul>
  <li>Copy the Client ID across.</li>
  <li>Copy the Client Secret across.</li>
</ul>

**4. Enter your Company ID**

Enter the TriNet company ID of the company these credentials cover, in upper case.

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