A service account as a JSON file is required to authenticate PersonalizerAI to use Retail AI. To create a service account, follow the steps below:

  1. Log in to your Google Cloud Console and click on the hamburger icon at the top left corner.
  2. Hover on IAM & Admin > then click on Service Accounts.
Service Accounts navigation link in google cloud

3. Click on + CREATE SERVICE ACCOUNT.

Service Accounts page in google cloud

4. Provide Service account details including the account Service account name, Service account ID, and Service account description. Click CREATE AND CONTINUE.

Service Accounts details in google cloud

5. In the Grant this service account access to project step, grant these roles:
- Retail Admin
- Retail Service Agent
- Service Account Token Creator

Service Accounts roles in google cloud


6. Click on Done

Create new Service Account in google cloud


7. After that you will be redirected back to the Service accounts page. Here you need to click on the 3 vertical dots in the Actions columns and select Manage keys.

Service Accounts list in google cloud

8. Now on the Keys page click on ADD KEY, then Create new key.

Service Account key in google cloud

9. A modal will open where you need to ensure that Key type is JSON. Click on CREATE.

Create service account private key

10. The service account key will be downloaded as a JSON file on your computer. You can then upload this file in the PersonalizerAI app.

Download service account private key on your computer