Create a service account and generate the account key for the Google Workspace marketplace.
Create Service Account
-
From the navigation menu, go to APIs & Services > Enabled APIs & services.
The APIs & Services page appears.
-
From the list, select Google Workspace Marketplace SDK.
The CREDENTIALS tab of the API/Service Details page appears.
-
On the top-right of the CREDENTIALS tab, go to CREATE CREDENTIALS > Service account.
The Create service account page appears.
-
Under Service account details, specify the following:
-
In the Service account name box, enter a name for the account.
-
In the Service account ID box, provide an email address for the account.
-
-
Click CREATE AND CONTINUE.
-
You can skip the optional steps and click CONTINUE.
-
Click DONE.
Create a Marketplace-Compatible OAuth Client
-
On the CREDENTIALS tab of the API/Service Details page appears, click the newly added service account.
The service account page appears.
-
Under Advanced settings, click CREATE GOOGLE WORKSPACE MARKETPLACE-COMPATIBLE OAUTH CLIENT.
The Confirm OAuth client creation dialog box appears.
-
Click CONTINUE.
On successful client creation, a success message appears.
Generate the Key file
-
Go to KEYS tab of the service account.
-
Click ADD KEY > Create new key.
A dialog box appears with the key type options.
-
Under Key type, select JSON, and then click CREATE.
A confirmation dialog box appears.
-
Click CLOSE.
Note
The service account key file can be generated only once. If the JSON key file is lost, you will have to create a new key and generate the key file again.