Creating credentials for a Google API service


In order to configure your site to retrieve Google Analytics 4 data, you must create a service account on the Google APIs site, then create credentials using a service account key in JSON format. This topic explains how to create these credentials.

Note
This topic is current as of November 2023. For more information, see Google's documentation.


To create credentials for a Google API service:

  1. Navigate to https://console.cloud.google.com and sign into your account.
  2. In the header, select the project for which you want to create credentials. For details on creating an account, see [GA4] Set up Analytics for a website and/or app.
    Selecting GCP Project.png Selecting GCP Project.png
  3. Click menu, then click IAM & Admin.
    Selecting IAM and Admin.png Selecting IAM and Admin.png
  4. In the left panel, click Service Accounts.
    Selecting Service Accounts.png Selecting Service Accounts.png
  5. At the top of the page, click add Create Service Account.
    Create Service Account.png Create Service Account.png
  6. Under the Keys tab, click Add Key, then Create new key, then ensure that JSON is selected.
    Creating New Key.png Creating New Key.png
  7. Click Create.

    The JSON key is downloaded to your computer.

Now that you have created credentials, return to Creating a Google API service account and continue to the next step.

Our robust, flexible Design System provides hundreds of pre-built components you can use to build the presentation layer of your dreams.

Asset types
Module types
Page types
Brightspot is packaged with content types that get you up and running in a matter of days, including assets, modules and landing pages.

Content types
Modules
Landing pages
Everything you need to know when creating, managing, and administering content within Brightspot CMS.

Dashboards
Publishing
Workflows
Admin configurations
A guide for installing, supporting, extending, modifying and administering code on the Brightspot platform.

Field types
Content modeling
Rich-text elements
Images
A guide to configuring Brightspot's library of integrations, including pre-built options and developer-configured extensions.

Google Analytics
Shopify
Apple News