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

# G2 OAuth 2.0 connector profile – StackOne setup guide

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

> [!WARNING]
>
> You need a G2 Developer Portal account. Only an app marked Confidential is issued a client secret, so register the app as Confidential.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Registering an OAuth app

G2 issues OAuth credentials from the G2 Developer Portal. The app's permissions decide which scopes it may request, so set them before you copy the credentials.

**1. Create your Developer Portal account**

Sign in at the [G2 Developer Portal](https://my.g2.com/developers), or select **Create an account** if you do not have one. Skip this step if you can already reach the portal.

<ul>
  <li>Verify your email address.</li>
  <li>**Organization Name**: your company name</li>
  <li>**Organization Slug**: a unique short name for your organization</li>
  <li>The slug becomes part of your portal address, so use it to sign in from then on.</li>
  <li>If the slug is already taken, your organization has a portal already. Ask your G2 admin to add you instead.</li>
</ul>

**2. Register the app**

Navigate to the **OAuth Apps** tab, then select **New OAuth App**.

<ul>
  <li>**Name**: `StackOne Integration`</li>
  <li>**Privacy Policy URL**: a valid public link to your privacy policy</li>
  <li>**Terms of Service URL**: a valid public link to your terms of service</li>
  <li>**Redirect URL**: the Callback URL shown in your Connector Profile</li>
  <li>Placeholder or broken policy links may prevent the app from being approved.</li>
  <li>Enter the redirect URL exactly as your Connector Profile shows it.</li>
  <li>Select the **Confidential** checkbox so the app is issued a client secret.</li>
</ul>

**3. Select the app permissions**

Enables actions: Add Product To Research Board, Batch Add Products To Research Board, Batch Remove Products From Research Board, Create G2 Activate Industry Search, Create Partner Data Subscription, Create Product, Create Product Mapping, Create Research Board, Create Review Campaign, Delete Partner Data Subscription, Delete Research Board, Get All Category Features, Get All Product Features, Get Buyer Intent Interactions, Get Categories, Get Category, Get Category Features, Get Current User, Get Current User Product Review, Get Current User Products, Get Data Solutions Reviews, Get G2 Activate AI SDR Config, Get G2 Activate Locked Companies, Get G2 Activate Unlocked Companies, Get G2 Activate Unlocked Company, Get Global Buyer Intent Interactions, Get Market Signals Index, Get Organization Credit Account, Get Organization Credit Deductions, Get Partner Data Subscriptions, Get Performance Analytics Activation Status, Get Performance Analytics Data Quality, Get Performance Analytics Integration Health, Get Performance Analytics ROI Summary, Get Performance Analytics ROI Trend, Get Product, Get Product Competitors, Get Product Discussions, Get Product Downloads, Get Product Features, Get Product Integration Reviews, Get Product Mappings, Get Product Market Intelligence Reviews, Get Product Medals, Get Product Ratings, Get Product Reviews, Get Product Screenshots, Get Product Selected Competitors, Get Product Snippets, Get Product Video Reviews, Get Product Videos, Get Products, Get Question, Get Questions, Get Report, Get Research Board, Get Review Campaign, Get Review Campaigns Budget, Get Sandbox Buyer Intent Interactions, Get Screenshot, Get Screenshots, Get Vendor, Get Vendors, List Reports, List Research Board Products, List Research Boards, Post G2 Activate Unlocked Companies, Remove Product From Research Board, Submit Current User Product Review, Update G2 Activate AI SDR Config, Update Product Mapping, Update Research Board

In the *Permissions* panel, select the **Read** checkbox next to each endpoint the app should reach, then select **Save**. An endpoint left unselected is not accessible with these credentials, and a scope with no matching permission is rejected when the app requests it.

<ul>
  <li>
    openid
  </li>

  <li>
    profile
  </li>

  <li>
    products.read
  </li>

  <li>
    products.write
  </li>

  <li>
    products.ratings.read
  </li>

  <li>
    products.reviews.read
  </li>

  <li>
    products.snippets.read
  </li>

  <li>
    products.screenshots.read
  </li>

  <li>
    products.videos.read
  </li>

  <li>
    products.video\_reviews.read
  </li>

  <li>
    products.downloads.read
  </li>

  <li>
    products.discussions.read
  </li>

  <li>
    product.badges.read
  </li>

  <li>
    product\_features.read
  </li>

  <li>
    screenshots.read
  </li>

  <li>
    questions.read
  </li>

  <li>
    vendors.read
  </li>

  <li>
    buyer\_intent.read
  </li>

  <li>
    market\_signals.read
  </li>

  <li>
    integration\_reviews.read
  </li>

  <li>
    ds\_reviews.read
  </li>

  <li>
    reports.read
  </li>

  <li>
    performance\_analytics.read
  </li>

  <li>
    review\_campaigns.read
  </li>

  <li>
    review\_campaigns.write
  </li>

  <li>
    g2\_activate.read
  </li>

  <li>
    g2\_activate.write
  </li>

  <li>
    research\_boards.read
  </li>

  <li>
    research\_boards.write
  </li>

  <li>
    data\_subscriptions.read
  </li>

  <li>
    data\_subscriptions.write
  </li>
</ul>

**4. Copy the client credentials**

Select **Details** on the app in the OAuth Apps panel, then copy the **Client ID** and **Client Secret** into your Connector Profile.

<ul>
  <li>Both values are in the *OpenID Connect Details* panel.</li>
  <li>Partner integrations must also replace `partner-id` in the `partner:partner-id.read` scope with the Partner ID G2 issued them.</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/g2/guides/link-account/oauth-2-0.md).


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