# Linux/macOS export GOOGLE_APPLICATION_CREDENTIALS="KEY_PATH" # Windows set GOOGLE_APPLICATION_CREDENTIALS=KEY_PATH # Replace KEY_PATH with the path of the JSON file that contains your service account key.