Quickstart
Start with a real shop, a real API key, and one agent connection before you read the deeper specs.
From sign-in to a working agent connection in five minutes — create a site, mint an API key, call REST, connect MCP, and open a UCP checkout.
Aly is an agent-native commerce platform. You build a storefront (a site, products, memberships, voice agent), and every surface — catalog, cart, checkout, orders — is also reachable by external agents over standard protocols: MCP (Model Context Protocol), UCP (Universal Commerce Protocol), A2A (Agent-to-Agent), x402 (HTTP-native micropayments), and a conventional REST API.
This page walks you from zero to a published storefront and a working agent connection in about five minutes.
Sign in and create a site
Open aly.store and sign in. From your dashboard, create a new site. Each site is published at
https://<slug>.aly.storeon a wildcard subdomain, or you can attach a custom domain later from Settings → Domains.Add at least one product. The same product schema (price, variants, media, optional digital file) powers the UI editor, REST catalog endpoints, UCP catalog lookup, MCP tools, and the storefront page.
Mint an API key
Visit Settings → API keys. Create a key with the scopes your integration needs — for the Quickstart we'll use
read:sites,read:content, andread:orders. The key starts withaly_and is shown once.Bearer tokens onlyAly's agent surfaces (MCP, UCP, A2A, REST merchant endpoints) acceptaly_*API keys andaly_oauth_*OAuth tokens as bearer credentials. Browser session JWTs are explicitly rejected — use keys for anything non-interactive.Call the REST API
Confirm the credential works against a public storefront endpoint first — no scope required.
bashcurl https://aly.store/api/storefront/v1/stores/your-slug/products \ -H "Authorization: Bearer aly_..."The response is JSON with a paginated
productsarray and anext_cursor. The same payload shape backs the editor and the storefront.Connect an MCP client
Point Claude Desktop or Cursor at the MCP server. The endpoint is
https://aly.store/api/mcp, JSON-RPC 2.0 over HTTP, with a Bearer token. See Connect Claude Desktop or Connect Cursor for the exact config snippet.Once wired, the client sees
~80tools across 23 families: sites, products, collections, orders, customers, memberships, media, voice, domains, analytics, webhooks, and more. See the Tools reference for the complete list.Open a UCP checkout
If your agent needs to transact, hit UCP directly. The flow is idempotent and signature-friendly:
bashcurl -X POST https://aly.store/api/ucp/v1/checkout-sessions \ -H "Authorization: Bearer aly_..." \ -H "Idempotency-Key: $(uuidgen)" \ -H "Content-Type: application/json" \ -d '{ "line_items": [{ "product_id": "prod_...", "quantity": 1 }], "shipping_address": { "country": "US", "state": "CA", "postcode": "94110" }, "buyer": { "email": "buyer@example.com" } }'The response contains a
continue_urlfor human-in-the-loop finalization and a signedResponse-Signatureheader for downstream verification. Full reference at UCP overview.
Next steps
- Concepts — domain model: sites, products, carts, orders, agent tasks.
- Authentication — API keys, OAuth 2.1, scope catalog.
- MCP overview — full MCP server documentation.
- REST API — storefront + merchant endpoints.
- Changelog — what shipped recently.
Was this page helpful?