Stay organized with collectionsSave and categorize content based on your preferences.
This section describes the steps to integrate your app's backend with
Cloud Marketplace. With this integration, you can manage users' accounts
andentitlements, which indicate that users have bought your product from
Cloud Marketplace. If you chose a usage-based pricing model, you also
integrate your backend to report usage to Google.
Set up access to the Cloud Commerce Partner Procurement API, as described inIntegrate your app.
If you chose a usage-based pricing scheme, verify that your Partner
Engineer has created a service that you can report usage against. This service
displays in theService domainfield of theBilling Integrationsectionof Producer Portal.
Access your app's backend integration in Producer Portal
To access all of the information you need to integrate your app's backend with
Cloud Marketplace from one location, such as your service accounts and plan
level identifiers, you can use theBilling integrationsection of Producer
Portal.
In the list of products, click the name of your product.
From theOverviewpage of your product, go to theTechnical integrationsection.
In theTechnical integrationsection, clickBilling integration.
Create and link service accounts in Producer Portal
You can use theBilling integrationsection of Producer Portal to create and
link the service accounts that you use to interact with the Partner APIs and to
get information about users' purchases.
In the following steps, you can use existing service accounts, or create new
service accounts. If you create a new service account, specify the service
account's name in theService account namefield and the service account's
ID in theService account IDfield, and then clickCreate and link. For
detailed steps to create a service account, seeCreating and managing service accounts.
To link your service accounts:
In the list of products, click the name of your product.
On theOverviewpage of your product, go to theTechnical integrationsection and clickBilling integration.
To integrate with the Partner Procurement API, underLink a service account to call Procurement API, clickAdd service account. You can enter an existing service account into the
field, or create a new service account.
To integrate with Pub/Sub, underLink a service account to subscribe to Pub/Sub topic, clickAdd service account. You can enter an existing service account into the
field, or create a new service account. Grant thePub/Sub EditorIdentity and Access Management (IAM) role to the service account that you link.
To integrate with the Service Control API, underAddroles/servicemanagement.serviceControllerto a service account,
clickAdd service account. You can enter an existing service account into
the field, or create a new service account.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Configure your app's backend\n\nThis section describes the steps to integrate your app's backend with\nCloud Marketplace. With this integration, you can manage users' accounts\nand *entitlements*, which indicate that users have bought your product from\nCloud Marketplace. If you chose a usage-based pricing model, you also\nintegrate your backend to report usage to Google.\n\nFor an example of integrating a basic app with Cloud Marketplace and a\nwalkthrough of the sample code, see the\n[codelab to integrate a managed service](https://codelabs.developers.google.com/codelabs/gcp-marketplace-integrated-saas/#0).\n\nFor the sample code used in the codelab, see the\n[GitHub repository](https://github.com/googlecodelabs/gcp-marketplace-integrated-saas/).\n\nBefore you begin\n----------------\n\n- Set up access to the Cloud Commerce Partner Procurement API, as described in [Integrate your app](/marketplace/docs/partners/integrated-saas/technical-integration-setup).\n- If you chose a usage-based pricing scheme, verify that your Partner Engineer has created a service that you can report usage against. This service displays in the **Service domain** field of the [**Billing Integration** section](/marketplace/docs/partners/integrated-saas/backend-integration#backend-integration) of Producer Portal.\n\nAccess your app's backend integration in Producer Portal\n--------------------------------------------------------\n\nTo access all of the information you need to integrate your app's backend with\nCloud Marketplace from one location, such as your service accounts and plan\nlevel identifiers, you can use the **Billing integration** section of Producer\nPortal.\n\nThe direct link to Producer Portal is: \n\n```\nhttps://console.cloud.google.com/producer-portal?project=YOUR_PROJECT_ID\n```\n| **Note:** If you don't see the link, or can't access the URL, verify that you've selected the correct project. If you still can't access the URL, use the [Partner Support Desk](https://g.co/cloud/psd-partner) to request assistance, and include the word \"Marketplace\" in your description. For more information about Partner Support Desk, visit [Request assistance with Cloud Marketplace](/marketplace/docs/partners/get-support).\n\nTo access the **Billing integration** section:\n\n1. In the list of products, click the name of your product.\n\n2. From the **Overview** page of your product, go to the\n **Technical integration** section.\n\n3. In the **Technical integration** section, click **Billing integration**.\n\nCreate and link service accounts in Producer Portal\n---------------------------------------------------\n\nYou can use the **Billing integration** section of Producer Portal to create and\nlink the service accounts that you use to interact with the Partner APIs and to\nget information about users' purchases.\n\nThe direct link to Producer Portal is: \n\n```\nhttps://console.cloud.google.com/producer-portal?project=YOUR_PROJECT_ID\n```\n| **Note:** If you don't see the link, or can't access the URL, verify that you've selected the correct project. If you still can't access the URL, use the [Partner Support Desk](https://g.co/cloud/psd-partner) to request assistance, and include the word \"Marketplace\" in your description. For more information about Partner Support Desk, visit [Request assistance with Cloud Marketplace](/marketplace/docs/partners/get-support).\n\nIn the following steps, you can use existing service accounts, or create new\nservice accounts. If you create a new service account, specify the service\naccount's name in the **Service account name** field and the service account's\nID in the **Service account ID** field, and then click **Create and link** . For\ndetailed steps to create a service account, see\n[Creating and managing service accounts](/iam/docs/creating-managing-service-accounts).\n\nTo link your service accounts:\n\n1. In the list of products, click the name of your product.\n\n2. On the **Overview** page of your product, go to the **Technical integration**\n section and click **Billing integration**.\n\n3. To integrate with the Partner Procurement API, under\n **Link a service account to call Procurement API** , click\n **Add service account**. You can enter an existing service account into the\n field, or create a new service account.\n\n4. To integrate with Pub/Sub, under\n **Link a service account to subscribe to Pub/Sub topic** , click\n **Add service account** . You can enter an existing service account into the\n field, or create a new service account. Grant the\n [Pub/Sub Editor](/pubsub/docs/access-control#pubsub.editor)\n Identity and Access Management (IAM) role to the service account that you link.\n\n5. To integrate with the Service Control API, under\n **Add `roles/servicemanagement.serviceController` to a service account** ,\n click **Add service account**. You can enter an existing service account into\n the field, or create a new service account.\n\nWhat's next\n-----------\n\n- [Manage user accounts](/marketplace/docs/partners/integrated-saas/manage-user-accounts) for your SaaS products.\n- [Manage customer entitlements](/marketplace/docs/partners/integrated-saas/manage-entitlements) for your SaaS products.\n- For products with usage-based pricing, [configure your app's usage reporting](/marketplace/docs/partners/integrated-saas/configure-usage-reports) to Google."]]