Universal Commerce Protocol (UCP) Setup Guide
Universal Commerce Protocol (UCP) is Google's open standard that enables AI agents to discover your products and complete purchases directly. When customers use Google AI Mode, Gemini, ChatGPT, or Microsoft Copilot, UCP lets them buy from you instantly without leaving the AI interface. Major partners include Shopify, Stripe, PayPal, Visa, Mastercard, Target, and Walmart.
Open Universal Commerce Protocol (UCP)Before you start
- Google Merchant Center account
- Active product feed in Merchant Center
- Checkout system with API access
- Payment processor (Stripe, PayPal, etc.)
- Developer resources for API integration
Why it matters
- Direct sales through Google AI Mode and Gemini
- Reduced cart abandonment - customers buy without leaving AI
- Compatible with ChatGPT, Microsoft Copilot commerce
- Secure payment handling via tokenization
- You remain Merchant of Record - keep customer data
- Works with existing Shopify, Stripe, PayPal setup
Guided setup
Step 1: Verify Merchant Center Setup
Ensure your Google Merchant Center account is active with approved product feeds. UCP builds on your existing Merchant Center data.
Expected result: Merchant Center shows active status with approved products.
- Product feed has errors or warnings
- Prices don't match website
- Missing required product attributes
- Fix all feed warnings before UCP setup
- Ensure GTIN/UPC codes are accurate
Step 2: Join UCP Waitlist
Apply to join Google's UCP program. Google is currently onboarding merchants in phases.
Expected result: Confirmation email from Google with next steps.
- Using personal email instead of business
- Incomplete application
- Shopify merchants get priority access
- Mention existing Merchant Center history
Step 3: Choose Integration Path
Select between Native Checkout (recommended) or Embedded Checkout based on your needs.
Expected result: Clear decision on which integration path to pursue.
- Choosing Embedded when Native would work
- Not consulting with developer first
- Native Checkout unlocks more agentic features
- Embedded is only for highly custom checkout flows
Step 4: Implement UCP Endpoints
Set up the required API endpoints for checkout, cart management, and order handling. Use Google's SDKs for faster integration.
Expected result: Endpoints are live and responding to test requests.
- Missing HTTPS
- Endpoint timeout issues
- Not handling all required UCP capabilities
- Use the official Python/Node SDK from GitHub
- Start with minimum required capabilities and expand
Step 5: Configure Payment Handler
Connect your payment processor (Stripe, PayPal, etc.) through UCP's secure payment token exchange.
Expected result: Test payment successfully processed through UCP flow.
- Test mode credentials in production
- Missing webhook signatures
- Stripe and PayPal have native UCP support
- Test with small amounts first
Step 6: Test in Sandbox
Use Google's sandbox environment to test the complete purchase flow before going live.
Expected result: Complete test purchase flow works end-to-end.
- Skipping edge case testing
- Not testing refund flow
- Test cart abandonment scenarios
- Verify order confirmation emails work
Step 7: Go Live
After successful sandbox testing, switch to production mode and monitor initial transactions.
Expected result: Live transactions appearing in Google AI Mode and Gemini.
- Not monitoring first transactions
- Missing production API keys
- Start with limited product set
- Have support ready for first 48 hours