Why Add UCP to BigCommerce?
BigCommerce is a leading enterprise eCommerce platform with powerful APIs and headless capabilities. Adding UCP support positions your store for AI-driven commerce and enables AI agents to discover and purchase products.
- Powerful APIs: BigCommerce's REST and GraphQL APIs integrate naturally with UCP
- Headless Ready: Perfect for headless commerce implementations
- Multi-Storefront: Support multiple storefronts with separate UCP profiles
- B2B Capabilities: Expose B2B pricing and catalogs to AI agents
Implementation Methods
| Method | Difficulty | Best For |
|---|---|---|
| WebDAV Upload | Easy | Quick setup, static profile |
| Stencil Theme | Medium | Dynamic profile from store data |
| Custom App | Advanced | Full control, enterprise needs |
Method 1: WebDAV Upload (Easiest)
Upload your UCP profile directly to BigCommerce using WebDAV.
Generate Your UCP Profile
Create a customized UCP profile for your BigCommerce store.
Open Generator โ- In your BigCommerce admin, go to Server Settings โ File Access (WebDAV)
- Note your WebDAV URL, username, and password
Use a WebDAV client (Cyberduck, WinSCP, or Finder on Mac):
# WebDAV URL format https://store-XXXXX.mybigcommerce.com/dav # Or using command line cadaver https://store-XXXXX.mybigcommerce.com/dav
- Navigate to the
/content/folder - Create a folder named
.well-known - Upload your
ucp.jsonfile asucp(no extension)
/content/.well-known/ucp
BigCommerce serves files from /content/ at the root. Your UCP profile will be accessible at:
https://yourstore.com/.well-known/ucp
Method 2: Stencil Theme
For dynamic UCP profiles that pull data from your store settings.
# Install Stencil CLI npm install -g @bigcommerce/stencil-cli # Clone your theme stencil init
Create a new template file templates/pages/custom/ucp.html:
--- layout: false --- { "profile_version": "1.0", "merchant": { "name": "{{settings.store_name}}", "url": "{{settings.base_url}}", "contact": { "email": "{{settings.store_email}}", "phone": "{{settings.store_phone}}" } }, "capabilities": ["browse", "search"], "policies": { "returns_url": "{{settings.base_url}}/returns-policy/", "shipping_url": "{{settings.base_url}}/shipping/", "privacy_url": "{{settings.base_url}}/privacy-policy/" }, "service_bindings": [ { "type": "REST", "base_url": "https://api.bigcommerce.com/stores/{{settings.store_hash}}/v3" } ] }
In config.json, add a custom route:
{
"routes": {
"custom": {
".well-known/ucp": "pages/custom/ucp"
}
}
}
# Bundle and push theme
stencil bundle
stencil push
BigCommerce API Integration
BigCommerce's APIs work well with UCP. Expose your API endpoints in the UCP profile for AI agents.
Useful API Endpoints
| Endpoint | Purpose |
|---|---|
/v3/catalog/products |
Product catalog browsing |
/v3/catalog/categories |
Category navigation |
/v3/carts |
Shopping cart management |
/v3/checkouts |
Checkout process |
Validate Your Implementation
Validate Your BigCommerce Store
Check your UCP implementation and AI commerce readiness.
Run Validation โCommon Issues & Solutions
| Issue | Solution |
|---|---|
404 on /.well-known/ucp |
Check WebDAV file path or Stencil route config |
| Wrong content type | Use Stencil with layout: false for JSON response |
| CDN caching issues | Purge CDN cache after uploading new profile |
| CORS errors | BigCommerce handles CORS for content files automatically |
๐ค Test with AI Agents
Run AI Agent Simulation
Test how AI shopping agents will interact with your BigCommerce store.
Open Simulator โ