Google Cloud Storage Setup via Web Console
Step 1: Create Google Cloud Project
Go to Google Cloud Console
Click "Select a project" → "New Project"
Enter project name (e.g., "taskmanager-dev")
Note your Project ID (e.g., "taskmanager-dev-123456")
Step 2: Enable Cloud Storage API
In the console, go to "APIs & Services" → "Library"
Search for "Cloud Storage API"
Click "Enable"
Step 3: Create Storage Bucket
Go to "Cloud Storage" → "Buckets"
Click "Create Bucket"
Configure:
Name: taskmanager-files-[YOUR-PROJECT-ID] (must be globally unique)
Location: Choose your region (e.g., us-central1)
Storage class: Standard
Access control: Fine-grained
Click "Create"
Step 4: Create Service Account
Go to "IAM & Admin" → "Service Accounts"
Click "Create Service Account"
Configure:
Name: taskmanager-storage
Description: "Service account for Task Manager file storage"
Click "Create and Continue"
Add role: "Storage Admin"
Click "Continue" → "Done"
Step 5: Create Service Account Key
Click on the service account you just created
Go to "Keys" tab
Click "Add Key" → "Create new key"
Choose "JSON" format
Click "Create" - this downloads the key file
Save the key file as key.json in your project root
Step 6: Set Bucket Permissions (Optional)
Go back to your bucket
Click "Permissions" tab
Click "Grant Access"
Add your service account email with "Storage Admin" role
Step 7: Configure CORS (if needed for direct web uploads)
In bucket details, go to "Configuration" tab
Edit CORS configuration
Add:
[
{
"origin" : [" *" ],
"method" : [" GET" , " POST" , " PUT" , " DELETE" ],
"responseHeader" : [" Content-Type" ],
"maxAgeSeconds" : 3600
}
]