AI agents · From working service to customer access
Publish an AI Agent on Google Cloud Marketplace: A Practical Guide
Choose the right product route, validate the Agent Card, connect customer entitlements and test the purchase-to-access journey.
Harborlane, the illustrative company in this guide, has a working Cloud Change Review Agent. Customers now want to buy it through Google Cloud Marketplace. The next job is to connect purchase, identity, access, billing and support—not just publish an endpoint.
01 / Decide what the customer is buying
Choose the product route
Harborlane’s agent reviews submitted configurations and returns a risk summary. It does not deploy changes or promise compliance. Make that boundary clear in the product and its listing.
| Route | Consider it when |
|---|---|
| AI agent as a service using A2A | A Google Cloud-hosted agent uses A2A and integrates with Gemini Enterprise. |
| SaaS with integrated billing | The agent is part of a hosted application or uses another protocol; this route can support other infrastructure. |
| Kubernetes application | The customer needs the packaged application deployed into its supported Kubernetes environment. |
| Professional services | The offering is consulting, implementation or customization work around agents. |
The official offering guide defines these routes. This article follows the A2A agent-as-a-service route; its requirements do not apply to every Marketplace product.
Connect purchase to service access
Marketplace handles discovery and procurement. Your runtime operates the agent, and your backend maps the purchase to service access. Check login, tenant membership and active entitlement independently.
Read the diagram
A Marketplace purchase creates an entitlement. Before allowing agent use, the backend checks that entitlement and maps the signed-in user to the correct customer, plan and permitted actions.
02 / Prepare two workstreams
Start seller onboarding and engineering together
Assign a commercial owner for seller eligibility, agreements, pricing and product details, and an engineering owner for access and integration. The Producer Portal guide requires the Marketplace Project Info Form.
Record the product route, project, customer, supported regions, data handling and support owner before completing listing forms.
Give the agent a stable operational home
Cloud Run is one possible home for Harborlane’s HTTP service. Choose a runtime from actual execution, networking and operational needs. Test authentication, limits, timeouts, monitoring and rollback before connecting purchase events.
03 / Make the agent’s contract inspectable
Describe the real service in an Agent Card
An Agent Card describes the A2A service’s capabilities, interface and security requirements. For Harborlane, specify configuration input, risk-report output, authentication and limits.
Generate and validate it against the current A2A specification and supported integration version. Keep the card and compatibility tests in version control.
Version the card and validate the actual listing input
The Agent Card guide requires JSON in a same-project Cloud Storage bucket with Object Versioning enabled. Select it in Producer Portal, run validation and address Agent ScoreCard gaps.
Record service version, card version and validation result together. Recheck the card when endpoints or authentication change.
Choose identifiers carefully in Producer Portal
Create the product in the intended project and choose the correct AI-agent type. Review the identifier first: the solution ID and product type cannot be changed after creation. Attach and validate the card.
Write the listing for the buyer’s first decision
Explain the task, required input, output, limits, data handling and support path. Show a sanitized configuration and resulting review. State that people assess findings and approve changes. Submit the separate product-details review.
04 / Connect a purchase to a usable service
Choose a pricing model you can measure and explain
Pricing options include free, subscription, usage-based and combined models. A free listing can still incur runtime costs.
If Harborlane charges per completed review, define how retries, timeouts and errors affect the meter. Usage-based products must report the chosen usage consistently with the customer’s contract.
Handle the entitlement lifecycle
An entitlement represents the purchase. The backend integration uses Pub/Sub and the restricted Partner Procurement API; your Partner Engineer enables access. Usage-based pricing also requires Service Control reporting.
Map each entitlement ID to the customer account, tenant and plan. Apply activation, plan changes and cancellation at their documented effective states. Support multiple orders, repeatable event processing and reconciliation with authoritative state; follow the entitlement lifecycle.
Check identity, purchase and data permission independently
For every request, verify the caller, tenant, entitlement and permitted data. A tenant ID in a prompt or request body is not evidence of authorization.
Gemini Enterprise registration is documented as Preview/Pre-GA. Its Marketplace agents require Model Armor configuration through the REST API in application code; console settings do not automatically protect them. Confirm current launch-stage and integration requirements before rollout.
05 / Test the customer journey
Test what happens before and after the agent call
| Journey | Evidence to collect |
|---|---|
| New purchase | Correct account/entitlement link and tenant provisioned at the documented state |
| Unauthorized caller | Request refused without exposing another tenant’s data |
| Plan change | New limits applied when the change takes effect |
| Cancellation | Access follows the effective cancellation and retention policy |
| Notification retry or processing outage | No duplicate tenant, lost state or duplicate usage charge |
| Agent timeout | Clear error, bounded retry and agreed metering result |
Use the supported test process. Trace Marketplace events, entitlement IDs, internal tenants and agent requests so failures can be investigated.
Complete reviews before expecting a public listing
The publish guide requires Product details, Pricing and Technical integration reviews plus Agent Card validation. Pricing review comes before Technical integration submission. Final submission starts operations testing; publish with the product-specific command Google supplies after validation.
Write down what the customer does after purchase
Document the buyer’s steps: register the procured agent, grant users access and complete supported identity setup. Test those instructions with an administrator who did not build the integration.
Ownership continues after publication
Name owners for incidents, entitlement reconciliation, metering, Agent Card compatibility and runtime/model changes.
Before release, review a one-page contract covering task, input, output, limits, runtime, product route, authentication, entitlement mapping, billing unit and support. Harborlane is ready when a customer can purchase, obtain correct access, receive a useful review and get help.
For the underlying service, continue with the ADK/MCP guide and production readiness checklist.
Implementation references
- Offering routes and overall onboarding
- Producer Portal and immutable product identifiers
- Card storage, versioning and validation
- Current A2A contract
- Backend APIs and reporting
- Customer entitlement lifecycle
- Publication reviews
- Gemini Enterprise registration and security caveats
References checked 3 November 2026. Product requirements and launch stages can change; keep the product contract and operational tests current as you maintain the listing.
