Skip to main content

Google API Service Setup

Overview

Complete these Google Cloud setup steps before configuring the Google API Service in B2Win Suite.

To use Authorize, upload an OAuth 2.0 Client ID JSON.

Setup Steps

  1. Go to the Google Cloud Console.
  2. Create a new project or select an existing one.
  3. Go to APIs & Services > Library and enable Google Drive API, Google Sheets API, and/or Gmail API.
  4. Go to APIs & Services > Credentials.
  5. Click Create Credentials > OAuth client ID. Configure the OAuth consent screen if prompted.
  6. Set Application type to Web application.
  7. Add an Authorized redirect URI: your B2Win Suite URL with /services/oauth2callback at the end (for example https://your-host/services/oauth2callback).
  8. Create the client, download the JSON, and upload it in B2Win Suite.
  9. Click Authorize and complete the Google sign-in.

Service Account JSON

A service account JSON can still be used for Drive/Sheets without OAuth, but it cannot generate an OAuth URL and typically cannot send Gmail without domain-wide delegation.

Next Step

After downloading the OAuth 2.0 Client ID JSON, return to Google API Service and upload it in B2Win Suite.