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

# Google Search Console OAuth 2.0 connector profile – StackOne setup guide

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

> [!WARNING]
>
> Creating OAuth credentials requires Owner or Editor permissions on the Google Cloud project.

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

## Select or create a Google Cloud project

Google Search Console API access is granted through an OAuth client that belongs to a Google Cloud project, so start by choosing the project that will own the credentials.

**1. Select or create a project**

Sign in to the [Google Cloud console](https://console.cloud.google.com/).

<ul>
  <li>Click the project name in the top bar to open the **Select a resource** dialog.</li>
  <li>Pick an existing project from the list, or click **New project** to create one.</li>
</ul>

![The Select a resource dialog in the Google Cloud console with New project highlighted](https://mintcdn.com/stackone-60/SZQUhGCy22xP3-0n/connectors/googlesearchconsole/images/oauth2-setup-select-project.png?fit=max\&auto=format\&n=SZQUhGCy22xP3-0n\&q=85\&s=12dcf3ef5636fe5f735b7f6954479879)

## Enable the Google Search Console API

The API must be enabled on the project before its scopes can be granted or its endpoints called.

**1. Enable the API**

In the Google Cloud console, open **APIs & Services** > **Library**.

<ul>
  <li>Search for **Google Search Console API**.</li>
  <li>Open the result.</li>
  <li>On the **Google Search Console API** product page, click **Enable**.</li>
  <li>If the API is already enabled on this project, the button shows **Manage** next to an **API Enabled** marker instead.</li>
  <li>Enable the API before configuring scopes. The scope editor only lists scopes belonging to APIs that are already enabled.</li>
</ul>

![The Google Search Console API product page with the Enable button highlighted](https://mintcdn.com/stackone-60/SZQUhGCy22xP3-0n/connectors/googlesearchconsole/images/oauth2-setup-enable-api.png?fit=max\&auto=format\&n=SZQUhGCy22xP3-0n\&q=85\&s=8c0bdd935e3c9291e09b64b93fda8b87)

## Configure Google Auth Platform

Google Auth Platform holds the consent-screen configuration that your OAuth client presents to users. It must be configured before the client can be used.

**1. Enter the app information**

In the Google Cloud console, open **APIs & Services** > **OAuth consent screen** to open **Google Auth Platform**. In its sidebar, open **Branding** and fill in the **App information** section.

<ul>
  <li>If it has not been configured yet, complete the getting-started flow that **Overview** presents, then return to **Branding**.</li>
  <li>**App name**: the name shown on the consent screen when a user authorizes access</li>
  <li>**User support email**: the address users can contact with questions about their consent</li>
  <li>Click **Save** at the bottom of the page.</li>
</ul>

![The Branding page with the App name and User support email fields highlighted](https://mintcdn.com/stackone-60/SZQUhGCy22xP3-0n/connectors/googlesearchconsole/images/oauth2-setup-branding.png?fit=max\&auto=format\&n=SZQUhGCy22xP3-0n\&q=85\&s=f94673d2a46b2efa58790145aa7f7e0e)

**2. Set the audience**

Open **Audience** and check **User type**.

<ul>
  <li>**Internal** — only users in your Google Workspace organization can authorize the app, and no verification is required.</li>
  <li>Click **Make external** to allow any Google account to authorize it. External apps need verification before general production use.</li>
  <li>Google warns that OAuth access is restricted to users within your organization unless the OAuth consent screen is published and verified.</li>
</ul>

![The Audience page showing User type set to Internal with the Make external button highlighted](https://mintcdn.com/stackone-60/SZQUhGCy22xP3-0n/connectors/googlesearchconsole/images/oauth2-setup-audience.png?fit=max\&auto=format\&n=SZQUhGCy22xP3-0n\&q=85\&s=6e56bbc04585c13b17443660bee86a2d)

## Configure scopes

Scopes are configured on the **Data Access** page of Google Auth Platform.

**1. Add the scopes**

Enables actions: Add Site, Delete Site, Delete Sitemap, Get Site, Get Sitemap, Inspect URL, List Sitemaps, List Sites, Query Search Analytics, Submit Sitemap

In **Google Auth Platform**, open **Data Access**.

<ul>
  <li>Click **Add or remove scopes**.</li>
  <li>Under **Manually add scopes** in the **Update selected scopes** side panel, paste each scope listed.</li>
  <li>Click **Add to table**.</li>
  <li>Click **Update**.</li>
  <li>On the **Data Access** page, click **Save**.</li>
</ul>

![The Manually add scopes section with the text box, Add to table and Update buttons highlighted](https://mintcdn.com/stackone-60/SZQUhGCy22xP3-0n/connectors/googlesearchconsole/images/oauth2-setup-manual-scopes.png?fit=max\&auto=format\&n=SZQUhGCy22xP3-0n\&q=85\&s=3684c38636177a4693837235f4b45107)

<ul>
  <li>
    [https://www.googleapis.com/auth/webmasters](https://www.googleapis.com/auth/webmasters)
  </li>

  <li>
    [https://www.googleapis.com/auth/webmasters.readonly](https://www.googleapis.com/auth/webmasters.readonly)
  </li>
</ul>

## Create OAuth 2.0 client credentials

The client is a **Web application** client.

**1. Create the OAuth client**

In the Google Cloud console, open **APIs & Services** > **Credentials**.

<ul>
  <li>Click **+ Create credentials**.</li>
  <li>Choose **OAuth client ID**.</li>
  <li>**Application type**: **Web application**</li>
  <li>**Name**: `StackOne Search Console Integration`</li>
  <li>Under **Authorized redirect URIs**, click **+ Add URI**.</li>
  <li>Enter the **Callback URL** from your Connector Profile.</li>
  <li>Leave **Authorized JavaScript origins** empty.</li>
  <li>Click **Create**.</li>
  <li>Google notes that it may take 5 minutes to a few hours for settings to take effect, so a newly added redirect URI may not work immediately.</li>
</ul>

![The Create OAuth client ID form with the Name field, redirect URI field and Create button highlighted](https://mintcdn.com/stackone-60/SZQUhGCy22xP3-0n/connectors/googlesearchconsole/images/oauth2-setup-create-client-form.png?fit=max\&auto=format\&n=SZQUhGCy22xP3-0n\&q=85\&s=ace02676ddf23ea5c6be2e819c0e3a47)

**2. Copy the Client ID and Client Secret**

Copy the **Client ID** and **Client Secret** into your Connector Profile. The **OAuth client created** dialog shows both values, each with a copy button.

<ul>
  <li>The **Client ID** ends in `.apps.googleusercontent.com`</li>
  <li>The **Client Secret** begins with `GOCSPX-`</li>
  <li>Google warns that you will no longer be able to view or download the client secret once you close this dialog, so copy it or use **Download JSON** first.</li>
  <li>The **Client ID** stays available afterwards from the **Clients** page in **Google Auth Platform**.</li>
  <li>Click **OK** to close the dialog.</li>
</ul>

![The OAuth client created dialog showing the Client ID and Client secret rows with their copy buttons highlighted](https://mintcdn.com/stackone-60/SZQUhGCy22xP3-0n/connectors/googlesearchconsole/images/oauth2-setup-client-created.png?fit=max\&auto=format\&n=SZQUhGCy22xP3-0n\&q=85\&s=8c8a91bdbcae8a46d790e9733fe2a04f)

## 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/googlesearchconsole/guides/link-account/oauth-2-0.md).


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