Google OAuth 2.0 & Business Profile API Setup Guide
April 12, 2026 by Pham Toan | Viewed: 2
# Google OAuth 2.0 & Business Profile API Setup Guide
> This guide walks you through setting up **OAuth 2.0 credentials** and enabling the **Business Profile API** in Google Cloud Console — required for the **Google Customer Reviews** feature to work properly.
---
## Prerequisites
- A **Google account** that owns or manages your business on [Google Business Profile](https://business.google.com).
- Access to [Google Cloud Console](https://console.cloud.google.com).
---
## Step 1 — Create or Select a Google Cloud Project
1. Go to [https://console.cloud.google.com](https://console.cloud.google.com).
2. Click the **project selector** dropdown at the top-left of the page.
3. Click **"New Project"** (or select an existing project if you already have one).
4. Enter a **Project Name** (e.g. `My Store Reviews`) and click **"Create"**.
5. Make sure your new project is **selected** before proceeding.
---
## Step 2 — Enable the Business Profile API
1. In the left sidebar, navigate to **"APIs & Services"** → **"Library"**.
2. In the search bar, type: `Business Profile`
3. Click on **"My Business Account Management API"** (or **"Business Profile API"**).
4. Click the **"Enable"** button.
> ✅ Also enable the following related APIs if not already enabled:
> - **My Business Information API**
> - **My Business Reviews API**
> - **My Business Verifications API**
---
## Step 3 — Configure the OAuth Consent Screen
Before creating OAuth credentials, you must configure the consent screen.
1. Go to **"APIs & Services"** → **"OAuth consent screen"**.
2. Select **User Type**:
- Choose **"External"** if your store is open to all Google users.
- Choose **"Internal"** only if you use Google Workspace and want to restrict to your organization.
3. Click **"Create"**.
4. Fill in the required fields:
- **App name**: Your store name (e.g. `My Online Store`)
- **User support email**: Your support email address
- **Developer contact information**: Your email address
5. Click **"Save and Continue"**.
6. On the **Scopes** screen, click **"Add or Remove Scopes"** and add:
- `https://www.googleapis.com/auth/business.manage`
7. Click **"Update"** → **"Save and Continue"**.
8. On the **Test users** screen (only for External apps in testing mode), click **"Add Users"** and add your Google account email.
9. Click **"Save and Continue"** → **"Back to Dashboard"**.
---
## Step 4 — Create OAuth 2.0 Client ID Credentials
1. Go to **"APIs & Services"** → **"Credentials"**.
2. Click **"+ Create Credentials"** → Select **"OAuth client ID"**.
3. For **Application type**, select **"Web application"**.
4. Enter a **Name** (e.g. `My Store OAuth Client`).
5. Under **"Authorized redirect URIs"**, click **"+ Add URI"** and enter your store's redirect URI:
