How to Set Up a Google Search Console Account?

Integrating Google Search Console data into your automation workflows, such as with n8n, requires obtaining Google OAuth2 Credentials with Webmasters Scope. This allows your applications to access and manipulate your website’s search data.

This guide will provide a clear, step-by-step process for obtaining these credentials.

Why Use Google OAuth2 Credentials with Webmasters Scope?

Before we dive into the process, let’s understand why these specific credentials are necessary:

Access Search Console Data

The Webmasters Scope grants your application permission to view and manage your website’s Search Console data.

Automate SEO Tasks

With these credentials, you can automate tasks like fetching search performance data, submitting sitemaps, and monitoring indexing issues.

Integrate with Automation Tools

These credentials are essential for connecting your Search Console data with automation platforms like n8n.

n8n oauth credentials webmaster page

Obtaining Google OAuth2 Credentials with Webmasters

Follow these steps to obtain your Google OAuth2 Credentials with Webmasters Scope:

1. Create a Google Cloud Project

2. Enable the Search Console API

  • In your Google Cloud project, navigate to the API Library.
  • Search for “Search Console API” and enable it.

3. Create OAuth 2.0 Credentials

  • Go to the “Credentials” page in your Google Cloud project.
  • Click “Create Credentials” and select “OAuth client ID.”
  • Choose “Web application” as the application type.
  • Give your OAuth client a name (e.g., “Webmasters Integration”).
  • Under “Authorized JavaScript origins,” add the URL of your application or n8n instance (e.g., https://your-n8n-instance.com).
  • Under “Authorized redirect URIs,” add the same URL, appending /rest/oauth2-credential/callback (e.g., https://your-n8n-instance.com/rest/oauth2-credential/callback). This is crucial for the authentication flow.
  • Click “Create.”

4. Note Your Client ID and Client Secret

After creating the OAuth client ID, you will see your Client ID and Client Secret. Copy these values; you’ll need them later.

5. Configure Your Application or n8n

In your application or n8n instance, use the Client ID, Client Secret, and Scope to configure the connection to the Search Console API.

Tips and Troubleshooting

Scope Verification

Double-check that you have selected the correct Webmasters Scope during the authorization process.

Redirect URIs

Ensure your authorized redirect URIs in the Google Cloud Console match your application URL exactly.

Client ID and Secret Security

Treat your Client ID and Client Secret like passwords. Keep them secure and do not share them publicly.

Refresh Token Management

Store your refresh token securely, as it allows you to obtain new access tokens without user interaction.

API Documentation

Refer to the official Google Search Console API documentation for detailed information and troubleshooting tips.

Obtaining Google OAuth2 Credentials with Webmasters Scope is a straightforward process that unlocks powerful automation capabilities for your SEO tasks. By following this guide, you can seamlessly integrate your Search Console data with your applications and automation workflows.

Still have questions? Get help from our community of users and experts.

Supercharge Your Workflows with n8n

n8n is the perfect platform to bring this template to life. With its intuitive visual interface, you can easily connect your accounts, customize the workflow, and schedule automated reports.

Made with 🤍 in Estonia

© 2025 No Bad Content OÜ. All rights reserved.