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
- Go to Google Cloud Console
- 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:
- Cloud Asset API
Navigate to:Cloud Asset API
→ Click Enable - Cloud Resource Manager API
Required to list project metadata.
Navigate to:Cloud Resource Manager API
→ Click Enable
Step 3: Configure OAuth Consent Screen
- Go to APIs & Services > OAuth consent screen
- Select External and click Create
- Fill the form:
- App Name: e.g., Cloud App
- User Support Email: your Google account email
- Developer Contact Info: your email
- Click Save and Continue through all steps
- Under Test Users, add your own Gmail or Workspace account
Step 4: Create OAuth 2.0 Credentials
- Go to APIs & Services > Credentials
- Click + Create Credentials → OAuth client ID
- Select Web Application
- 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)
- 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.