Configuration Steps - Google Workspace

1. Steps to Register an App and Generate the Client ID and Client Secret Key for Google Workspace

1.1 Enable Google APIs and Create a Project

  • Go to the Google Cloud Console
    (https://console.developer.google.com/start/api?id=appactivity )

  • Sign in with your Google Workspace (GSuite) account

  • Click on the Select a project dropdown (top left) and click New Project

  • Name your project and click Create

  • Once the project is created, select it from the project list

1.2 Enable the Required APIs

( https://console.cloud.google.com/apis/library?project= )

  • In the Cloud Console, go to APIs & Services > Library

  • Search for the API you need (Google Drive API and Admin SDK API)

  • Click on the API and then Enable it

1.3 Create OAuth Credentials

  • Navigate to APIs & Services > Credentials

  • Click Create Credentials > OAuth Client ID

  • If you haven't configured the OAuth consent screen, follow these steps:

    • Click Configure Consent Screen

    • Select Internal (for GSuite users) or External (for public apps)

    • Fill in required fields (App Name, Support Email, Developer Contact)

    • Add scopes if needed (like Gmail, Drive, etc.)

    • Click Save and Continue

  • Click on the Navigation Menu (☰) (top-left corner)

  • Go to APIs & Services > Credentials.

1.5 Click "Create Credentials":

  • Select OAuth Client ID

1.6 Find "Application Type":

  • You will see a section labeled Application Type

  • Choose from the options:

    • Web application → For web-based apps

    • Desktop app → For local applications

    • Android → For mobile apps on Android

    • iOS → For iPhone/iPad apps

1.7 Get Client ID and Secret Key

After creation, you will see a dialog box with:

  • Client ID

  • Client Secret

  • Copy these and store them securely.

  • You can also download them as a JSON file for API authentication.