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

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

> [!WARNING]
>
> You need Administrator access to create OAuth clients in Zuora.

## Generate OAuth credentials

Create an OAuth 2.0 client in your Zuora tenant to obtain a Client ID and Client Secret.

**1. Sign in to Zuora**

Sign in to your [Zuora tenant](https://www.zuora.com/sign-in/).

<ul>
  <li>Navigate to **Administration** > **Manage Users**.</li>
  <li>Select the API user account you want to use for the integration.</li>
</ul>

**2. Create an OAuth client**

Create a new OAuth 2.0 client for the selected user.

<ul>
  <li>Click the **OAuth Clients** tab on the user profile page.</li>
  <li>Click **Create** to open the client creation dialog.</li>
  <li>Enter a unique **Name** for the client (e.g., `StackOne Integration`).</li>
  <li>Click **Create** to generate the credentials.</li>
</ul>

**3. Copy credentials**

The credentials appear once the client is created.

<ul>
  <li>Copy the **Client ID** and **Client Secret** and paste them into the matching fields when you connect your account.</li>
  <li>The Client Secret is only displayed once — save it before closing the dialog.</li>
  <li>Note that you will need different credentials for each environment (production vs sandbox).</li>
</ul>

## Select your Zuora environment

Choose the Zuora environment that matches your tenant.

**1. Find your environment**

Check the URL you use to log in to Zuora to determine your environment.

<ul>
  <li>**US Production:** rest.zuora.com</li>
  <li>**US Sandbox:** rest.apisandbox.zuora.com</li>
  <li>**US Cloud Production:** rest.na.zuora.com</li>
  <li>**US Cloud Sandbox:** rest.sandbox.na.zuora.com</li>
  <li>**US Central Sandbox:** rest.test.zuora.com</li>
  <li>**EU Production:** rest.eu.zuora.com</li>
  <li>**EU Sandbox:** rest.sandbox.eu.zuora.com</li>
  <li>**EU Central Sandbox:** rest.test.eu.zuora.com</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/connect/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.