# How to Access Google Cloud Console

## What is Google Cloud Console?

**Google Cloud Console** is different from **Google Admin Console**:
- **Google Admin Console** (`admin.google.com`) - Manages Google Workspace users, apps, security settings
- **Google Cloud Console** (`console.cloud.google.com`) - Manages Google Cloud projects, APIs, service accounts, billing

## How to Access Google Cloud Console

### Method 1: Direct URL
Go to: **https://console.cloud.google.com/**

### Method 2: From Google Admin Console
1. Log in to Google Admin Console: https://admin.google.com
2. Go to **Apps** → **Google Workspace Marketplace**
3. Search for "Google Cloud Platform"
4. Click to open Cloud Console

### Method 3: From Your Credentials File
Your service account JSON file contains a `project_id`. You can access the project directly:
1. Go to: https://console.cloud.google.com/
2. Select the project (the project ID is in your credentials JSON file)

## Finding Your Project

Your credentials file (`google-drive-credentials.json`) contains:
- `project_id` - The Google Cloud project name
- `client_email` - The service account email
- `type` - Should be "service_account"

To find your project ID, you can run:
```bash
cat /var/www/html/wordpress6/secure/google-drive-credentials.json | grep project_id
```

## What You Need to Do in Google Cloud Console

1. **Enable Google Drive API:**
   - Go to: APIs & Services → Library
   - Search for "Google Drive API"
   - Click "Enable"

2. **Manage Service Accounts:**
   - Go to: IAM & Admin → Service Accounts
   - Find your service account (the `client_email` from credentials file)
   - Enable "Domain-wide delegation" if needed

3. **View API Credentials:**
   - Go to: APIs & Services → Credentials
   - See your service account and download keys

## Quick Links

- **Google Cloud Console**: https://console.cloud.google.com/
- **Google Admin Console**: https://admin.google.com/
- **IAM & Admin → Service Accounts**: https://console.cloud.google.com/iam-admin/serviceaccounts
- **APIs & Services → Library**: https://console.cloud.google.com/apis/library

## Troubleshooting

**"Access Denied" or "You don't have permission":**
- You need to be logged in with an account that has access to the Google Cloud project
- The project owner needs to grant you access
- Check if you're using the correct Google account

**"Project not found":**
- Verify the `project_id` in your credentials file
- Make sure you're logged in with an account that has access to that project
- The project might have been deleted or you don't have access

