Skip to Content
πŸš€Agentic Commerce Protocol is now live! Instant Checkout is available in ChatGPT. Learn more β†’
DocumentationStep-by-Step TutorialsOverview

Tutorials

Welcome to our hands-on tutorials. These guides walk you through implementing the Agentic Commerce Protocol from start to finish.

Learning Path

We recommend following these tutorials in order:

Your First Integration

Set up a minimal ACP implementation to understand the basics.

Building a Product Feed

Create a product feed that AI agents can discover and search.

Implementing Checkout API

Build the checkout endpoints for session management.

Handling Payment Tokens

Securely process Shared Payment Tokens.

Testing Your Integration

Verify everything works correctly.

Tutorial Guides

Prerequisites

Before starting these tutorials, you should have:

  • Basic understanding of REST APIs
  • Familiarity with JavaScript/TypeScript (examples use Node.js)
  • A Stripe account (for payment processing)
  • Node.js 18+ installed
πŸ’‘

New to APIs and web development? Check out our Key Concepts page first.

What You’ll Build

By the end of these tutorials, you’ll have:

Your ACP Implementation β”œβ”€β”€ Product Feed Endpoint β”‚ └── GET /acp/v1/products β”œβ”€β”€ Checkout API β”‚ β”œβ”€β”€ POST /acp/v1/checkout_sessions β”‚ β”œβ”€β”€ GET /acp/v1/checkout_sessions/:id β”‚ β”œβ”€β”€ PATCH /acp/v1/checkout_sessions/:id β”‚ └── POST /acp/v1/checkout_sessions/:id/complete └── Payment Handling └── Stripe integration with SPT support

Time Investment

TutorialEstimated Time
Your First Integration30 minutes
Building a Product Feed45 minutes
Implementing Checkout API1 hour
Handling Payment Tokens45 minutes
Testing Your Integration30 minutes
Total~4 hours

Need Help?

  • Getting stuck? Check the FAQ for common issues
  • Found a bug? Report it on GitHubΒ 
  • Have questions? Join the community

Let’s get started with Your First Integration!

Specification maintained by OpenAI and Stripe

AboutPrivacyTermsRSS

Apache 2.0 Β· Open Source