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

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

> [!WARNING]
>
> Pinecone says service accounts are available only on the Enterprise plan, and that organization owners add them. Pinecone does not document which organization role a service account needs to read members and role bindings. It describes Organization owner as full control over the organization, including billing, members, service accounts, security, and every project, so choose that role unless Pinecone confirms a lower one works.

## Create a service account

The service account holds the Client ID and Client Secret that StackOne exchanges for access tokens.

**1. Open the service accounts page**

Sign in to the Pinecone console, then go to **Settings** > **Access** > **Service accounts**.

**2. Add the service account**

Enter a **Name** such as `StackOne`, choose an **Organization role**, then click **Create**.

**3. Copy the credentials**

Copy the **Client secret** before you close the dialog, because Pinecone shows it only once. Keep the service account's **Client ID** as well.

## Connect the account

The Client ID and Client Secret belong to your own Pinecone organization, so you enter them on the account when you connect it.

**1. Enter the credentials**

In the connection form, paste the service account's **Client ID** and **Client Secret** into the matching fields.

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