Skip to main content

How to integrate Google Cloud Account?

Overview

To authenticate and use Google Cloud, you will need:

  • Client ID
  • Client Secret

Step 1: Login to Google Cloud Console

  1. Go to Google Cloud Console
  2. Sign in with the Google account that has access to your project.

Step 2: Enable Required APIs

You must enable the following APIs for your project:

  1. Cloud Asset API
    Navigate to: Cloud Asset API → Click Enable
  2. Cloud Resource Manager API
    Required to list project metadata.
    Navigate to: Cloud Resource Manager API → Click Enable
  1. Go to APIs & Services > OAuth consent screen
  2. Select External and click Create
  3. Fill the form:
    • App Name: e.g., Cloud App
    • User Support Email: your Google account email
    • Developer Contact Info: your email
  4. Click Save and Continue through all steps
  5. Under Test Users, add your own Gmail or Workspace account

Step 4: Create OAuth 2.0 Credentials

  1. Go to APIs & Services > Credentials
  2. Click + Create CredentialsOAuth client ID
  3. Select Web Application
  4. Fill the form:
    • Name: e.g., Cloud Client
    • Authorized Redirect URIs:
      • http://api.unizo.ai/callback/oauth (for Unizo app)
      • http://localhost:5000/oauth2callback (for testing)
  5. Click Create

Step 5: Get Client ID and Client Secret

After creation, a dialog will show:

  • Client ID → Use this in your application

  • Client Secret → Use this securely in your application

    💡 You can download the credentials JSON file for future use.