Creating a Service Account
- Print
- PDF
Creating a Service Account
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Before creating a service account, make sure you have enabled the cloud APIs. For more details, see Enabling Cloud APIs.
- Login to GCP Console using administrative privileges.
- Select IAM & Admin -> Service Accounts from the navigation menu.
- Select the project where you want to create a service account.
- Click + CREATE SERVICE ACCOUNT.
- Enter the following values in the Service account details on the Create service account page:
- Enter the service account name, ID, and description.
- Click CREATE AND CONTINUE then Click CONTINUE.
- Click DONE. A service account is created and listed with all the service accounts of this project.
- Click on the service account you created just now.
- Select the KEYS tab of this service account.
- Select ADD KEY -> Create new key.
- Select the Key type as JSON and click CREATE.
- The service account is auto-downloaded as a JSON file and saved in your system. Click CLOSE.
- Navigate to IAM & Admin -> Service Accounts. Search for the service account and copy OAuth2 client ID on the right-hand side.
Was this article helpful?