Migrate to AWS Partner Central 3.0 in 30 minutes.

Migrate now (opens in a new tab)
Skip to main content

Create a custom role, grant the SaaSify service account access to your marketplace project and Producer Portal, so SaaSify can manage purchases, entitlements and usage through Pub/Sub.

Before you start

SaaSify talks to Google Cloud Marketplace through a service account that SaaSify provides. You create a least-privilege custom role, grant it (plus a few standard roles) to that service account, and give the SaaSify automation account access to the Producer Portal. SaaSify registers a Pub/Sub subscription to receive marketplace events.

​Create the custom role

1

Open the project's Roles page

In the Google Cloud console, go to IAM & Admin → Roles, and select your marketplace project.

2

Create the role

Select + Create Role. Set the Title to GCPMarketplaceRoleForSaaSifyIntegration, the ID to GCPMarketplaceRoleForSaaSifyIntegration_ID, and Role launch stage to General Availability.

3

Add the permissions

Add these permissions, then select Create:

  • pubsub.subscriptions.create
  • pubsub.subscriptions.get
  • servicemanagement.services.check
  • servicemanagement.services.report
  • consumerprocurement.entitlements.get
  • consumerprocurement.entitlements.list

​Grant the service account access

1

Open IAM

Go to IAM & Admin → IAM with the marketplace project selected, and select Grant Access.

2

Add the SaaSify service account

Under Add principals, enter the service account your PSM gave you. Under Assign roles, add:

  • Commerce Price Management Private Offers Admin
  • Commerce Producer Viewer
  • GCPMarketplaceRoleForSaaSifyIntegration (the custom role you just made)

Select Save.

3

Grant the SVC account Producer Portal access

Select Grant Access again, enter the SVC (automation) account from your PSM, and assign Commerce Price Management Private Offers Admin, Commerce Producer Admin, Service Management Administrator and Service Usage Admin. Select Save.

​Set up the reporting bucket (for Seller Data Feed)

If you will use Seller Data Feed, create or choose a Cloud Storage bucket, grant the SaaSify marketplace service account the Storage Object Viewer role on it, and add the bucket as a report destination in the Producer Portal (Reports → Add a destination → Google Cloud Storage). Keep the bucket name for the configuration.

What happens next

SaaSify registers a Pub/Sub subscription when you save the configuration, so the cloud can push purchase and entitlement events. If the subscription is missing, the configuration table shows a Pub/Sub error, and General Settings shows the PubSub expiration policy and Days left for expiration.

​Next

Was this page helpful?