How to integrate Google Artifact Registry Account?
Overview
To authenticate and use the Google Artifact Registry, you will need:
- Client ID
- Client Secret
- Location (Region)
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:
-
Artifact Registry API
Navigate to:Artifact Registry 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., Artifact 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., Artifact 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.
Step 6: Get Artifact Registry Locations (Regions)
In the Google Cloud Console:
- Go to Artifact Registry
- Click Create Repository you are interested in
- View the location from the top of breadcrumb. Example regions:
us-central1
,europe-west1
,asia-east1