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

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

> [!WARNING]
>
> You need an active Flexport client account with access to Your Business > Settings.

## Create API Credentials

API Credentials are a Client ID and Client Secret pair that is exchanged for a 24-hour access token.

**1. Open the API Credentials settings**

Sign in to Flexport, click **Your Business** in the top navigation bar and choose **Settings**. Open the **API Credentials** tab.

**2. Create the credentials**

Click **Create Credentials**, enable every resource the connection should reach, and click **Create**.

<ul>
  <li>Resources left unchecked are blocked for these credentials.</li>
</ul>

**3. Copy the Client ID and Client Secret**

A new row appears for the credentials. Use the copy icons to copy the **Client ID** and **Client Secret** across.

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