Hosted
Get started with Better Data's hosted AI Gateway and Commerce Registry in minutes.
Hosted Endpoints:
https://gateway.betterdata.cohttps://registry.betterdata.co1{2 "platform": "shopify",3 "storeUrl": "your-store.myshopify.com",4 "storefrontAccessToken": "your-storefront-token",5 "apiVersion": "2024-01"6}1{2 "platform": "bigcommerce",3 "storeHash": "your-store-hash",4 "accessToken": "your-access-token"5}1{2 "platform": "woocommerce",3 "storeUrl": "https://yourstore.com",4 "consumerKey": "your-consumer-key",5 "consumerSecret": "your-consumer-secret"6}Once your gateway is configured, register it in the Commerce Registry to enable @shop discovery:
1curl -X POST https://registry.betterdata.co/api/gateways \2 -H "Authorization: Bearer YOUR_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "brand_name": "Your Brand",6 "domain": "yourstore.com",7 "endpoint": "https://gateway.betterdata.co/v1/your-gateway-id",8 "verified": true9 }'Response:
1{2 "id": "gw_123",3 "brand_name": "Your Brand",4 "domain": "yourstore.com",5 "endpoint": "https://gateway.betterdata.co/v1/your-gateway-id",6 "verified": true,7 "created_at": "2024-01-15T10:00:00Z"8}1curl -X POST https://gateway.betterdata.co/v1/your-gateway-id/tools \2 -H "Authorization: Bearer YOUR_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "provider": "claude",6 "session_id": "test-session-123"7 }'1curl -X POST https://gateway.betterdata.co/v1/your-gateway-id/tools \2 -H "Authorization: Bearer YOUR_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "provider": "openai",6 "session_id": "test-session-123"7 }'Once registered, users can discover your products via:
@shop Your Brand - Browse your catalog@shop Your Brand product name - Search your products@shop 012345678901 - Lookup by GTIN/UPCNeed help? Contact us at support@betterdata.co or visit our documentation.
