Skip to main content

Google Service Account

This guide will help you create a Google Service Account, generate a Service Account ID, and download a private key for secure access.


1️⃣ Create a Google Service Account

Follow these steps to create a service account:

  1. Go to the Google Console API and sign in to your Google Account.

  2. In the left-hand navigation menu, select IAM & Admin.

  3. Click on Service Accounts.

    Service Accounts

  4. Click the +Create Service Account button.

    Create Service Account

  5. Enter a Service Account Name and Description, then click Create and Continue.

    Create Continue

  6. Choose a Role by clicking the Select a Role dropdown. For example, to connect BigQuery, select BigQuery Admin.

  7. If needed, click +Add Another Role to assign multiple roles.

  8. Click Continue, then click Done.

    Create Service


2️⃣ Enabling API Access for the Service Account

To allow your service account to access specific Google APIs, you'll need to enable them:

  1. In the Google Console, go to APIs & Services and then Library.

    Enable API

  2. Use the search box to find the Google Drive API (or another API you need).

    Google Drive API

  3. Click the Enable button.

    Enable Button


3️⃣ Downloading the Private Key

Once your service account is set up, you'll need to download its private key:

  1. In the IAM & Admin section, click on Service Accounts.

  2. Select the newly created service account.

  3. Click the Add Key dropdown and select Create New Key.

    Private Key

  4. Choose Key Type as JSON, then click Create.

    Create New Key

  5. Save the JSON key file in a secure location for future use.

    Key Type

    Save Key File


🤓 Have Questions?

We're always here to help! Feel free to reach out to us via email at 📧 [email protected].