Using Google Service Account with Epic Backup
· 2 min read
To create a Google Service Account and use it for Google Drive API, follow these steps:
Step 1: Create a Google Cloud Project
- Go to the Google Cloud Console.
- Click on the project drop-down at the top and select "New Project".
- Enter a project name (e.g.,
Drive API Project). - Click "Create" and wait for the project to be created.
Step 2: Enable Google Drive API
- Inside the Google Cloud Console, go to "APIs & Services" > "Library".
- Search for Google Drive API and click on it.
- Click "Enable".
Step 3: Create a Service Account
- Go to "IAM & Admin" > "Service Accounts".
- Click "Create Service Account".
- Enter a Service Account Name (e.g.,
drive-api-service). - Click "Create and Continue".
- Assign the role "Editor" or "Owner" (or select "Cloud Storage Admin" if needed).
- Click "Continue", then "Done".