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
Your First IntegrationBuilding a Product FeedImplementing Checkout APIHandling Payment TokensTesting Your Integration
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 supportTime Investment
| Tutorial | Estimated Time |
|---|---|
| Your First Integration | 30 minutes |
| Building a Product Feed | 45 minutes |
| Implementing Checkout API | 1 hour |
| Handling Payment Tokens | 45 minutes |
| Testing Your Integration | 30 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!