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

# Notion OAuth 2.0 connector profile – StackOne setup guide

> Set up a connector profile using OAuth 2.0 for Notion in StackOne to allow users to link their accounts.

> [!WARNING]
>
> You must be a workspace owner in Notion to create a public integration for OAuth 2.0.

## Create a public connection

To enable OAuth 2.0, you need to create a public connection in Notion and retrieve the OAuth credentials.

**1. Sign in to Notion**

Sign in to your [Notion account](https://www.notion.so/login).

<ul>
  <li>Navigate to [**Public Integrations**](https://www.notion.so/profile/integrations/oauth).</li>
</ul>

**2. Create a new connection**

Click the **Create a new connection** button.

<ul>
  <li>Enter a **Connection name** (for example, `StackOne OAuth`).</li>
  <li>Upload a **Logo** (required).</li>
  <li>Select the **Development workspace**.</li>
  <li>Add the following redirect URI: the **Callback URL** from your Connector Profile</li>
  <li>In **Installable in**, select **Any workspace** to allow installation in any workspace, or select **Selected workspaces only** to limit installation.</li>
  <li>If you choose **Selected workspaces only**, the **Selected workspaces** dropdown appears below with the development workspace preselected, and you can add more workspaces from that dropdown.</li>
  <li>Click **Create**.</li>
  <li>In the confirmation popup, click **Configure connection settings**.</li>
</ul>

**3. Configure capabilities**

On the **Edit connection** page, configure the following capabilities.

<ul>
  <li>Under **Content capabilities** and **Comment capabilities**, enable capabilities based on your needs.</li>
  <li>Under **User capabilities**, select **Read user information including email addresses** (required for a successful connection).</li>
  <li>Click **Save**.</li>
</ul>

## Retrieve OAuth credentials

Copy the OAuth credentials from the Authorization section.

**1. Copy OAuth credentials**

Under the **Authorization (OAuth)** section, locate your OAuth credentials.

<ul>
  <li>Copy the **OAuth Client ID** value.</li>
  <li>Click **Show** next to **OAuth Client Secret** to reveal it.</li>
  <li>Copy the **OAuth Client Secret** value.</li>
  <li>Store both values securely for use later</li>
</ul>

## Create the StackOne Connector Profile

**1. Create a Connector Profile**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

**2. Link an Account**

Once the Connector Profile is created, continue to [link an account](https://docs.stackone.com/connectors/notion/guides/link-account/oauth-2-0.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.