Creating a Service Account
    • PDF

    Creating a Service Account

    • PDF

    Article summary

    Before creating a service account, make sure you have enabled the cloud APIs. For more details, see Enabling Cloud APIs.

    1. Login to GCP Console using administrative privileges.
    2. Select IAM & Admin -> Service Accounts from the navigation menu.
    3. Select the project where you want to create a service account.
    4. Click + CREATE SERVICE ACCOUNT.
    5. Enter the following values in the Service account details on the Create service account page:
      1. Enter the service account name, ID, and description.
      2. Click CREATE AND CONTINUE then Click CONTINUE.
      3. Click DONE. A service account is created and listed with all the service accounts of this project.
    6. Click on the service account you created just now.
    7. Select the KEYS tab of this service account.
    8. Select ADD KEY -> Create new key.
    9. Select the Key type as JSON and click CREATE.
    10. The service account is auto-downloaded as a JSON file and saved in your system. Click CLOSE.
    11. 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?