> ## 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 PlanetScale with OAuth 2.0 – StackOne Hub

> Link a PlanetScale account in the StackOne Hub using OAuth 2.0. End-user guide to authorize the integration and start using PlanetScale actions.

## Authorize PlanetScale access

PlanetScale asks which organizations to share when you connect. Organization access covers every database in that organization.

**1. Choose the organization**

On the PlanetScale consent screen, open **Organizations**.

<ul>
  <li>Select the organization to connect.</li>
  <li>Click **Authorize access**.</li>
</ul>

![The Organizations section of the PlanetScale consent screen with the organization checkbox highlighted](https://mintcdn.com/stackone-60/6FmyPeYVuoCy9TaE/connectors/planetscale/images/oauth2-config-organization.png?fit=max\&auto=format\&n=6FmyPeYVuoCy9TaE\&q=85\&s=4365406c9c8dbb5b573334801b0a1276)

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