Prerequisites
Before implementing the Agentic Commerce Protocol (ACP), ensure you meet these requirements.
Business Requirements
Merchant Account
- Active business with legal entity
- Ability to process online payments
- Product catalog with inventory management
Payment Processing
- Stripe Account (recommended): Easiest path with built-in SPT support
- Alternative PSP: Requires additional implementation work
Technical Requirements
API Infrastructure
- HTTPS endpoint accessible from the internet
- JSON request/response handling
- Request signature verification capability
Product Data
- Structured product catalog (JSON format)
- Real-time inventory availability
- Pricing and shipping information
Recommended Stack
| Component | Options |
|---|---|
| Server | Node.js, Python, Go, Ruby |
| Framework | Express, FastAPI, Gin, Rails |
| Database | PostgreSQL, MySQL, MongoDB |
| Payments | Stripe (recommended), other PSPs |
Environment Setup
# Required environment variables
STRIPE_SECRET_KEY=sk_test_...
STRIPE_PUBLISHABLE_KEY=pk_test_...
ACP_SIGNING_SECRET=your_signing_secret
WEBHOOK_SECRET=whsec_...Next Steps
Once you have these prerequisites in place: