- Create an account with your Google email
- Setup your first project
- Setup
service account & authentication
as described here- Grant
Viewer
role - Download
- Create your google service-account-keys (.json) for auth and save the file in this path
~/.google/credentials/
- Download
SDK
for local setup as described here - Set environment variable to point to your downloaded GCP keys:
export GOOGLE_APPLICATION_CREDENTIALS="<path/to/your/service-account-authkeys>.json" gcloud auth application-default login
- Grant
-
IAM Roles for Service account documentation:
- Go to the IAM section of IAM & Admin
- Click the Edit principal icon for your service account.
- Add these roles in addition to
Viewer
:
Storage Admin
Storage Object Admin
BigQuery Admin
-
Enable these APIs for your project: