AI Website Integration · Bolt

Give Bolt websites a production commerce backend.

When Bolt builds your storefront layout, pair it with Shoprivet public Storefront APIs or widget.js instead of maintaining fragile client-side cart arrays or writing payment webhook logic manually.

How do you connect a Bolt website to Shoprivet?

Point your Bolt-generated React, Next.js, or HTML frontend to Shoprivet unauthenticated /public/stores/{slug} APIs (or embed widget.js). Store secrets stay completely outside browser code.

Practical implementation

Three steps to launch a Bolt storefront

  1. 1

    Set up your store and payments in Shoprivet

    Configure products, stock limits, variants, and connected payment gateways inside Shoprivet.

  2. 2

    Connect Bolt UI via public REST or widget.js

    Use /public/stores/:slug/products for catalogs and POST /public/stores/:slug/carts for server-backed shopping carts.

  3. 3

    Verify checkout & digital delivery

    Ensure checkout redirects to checkout.authorizationUrl and confirms orders via /orders/:orderNumber/confirm.

Public checkout call inside Bolt app

const res = await fetch("https://api.shoprivet.io/public/stores/downtown-shop/carts/current/checkout", {
  method: "POST",
  headers: { Authorization: `Bearer ${cartToken}`, "Content-Type": "application/json" },
  body: JSON.stringify({ name, email, provider: "stripe", idempotencyKey: crypto.randomUUID() }),
});

Requirements, pricing & limits

Bolt developer considerations

API & embed integration (not a native Bolt extension)

Works immediately with any Bolt Vite, Next.js, or HTML project via standard HTTPS REST calls.

OpenAPI 3.0.3 compatible

Paste https://shoprivet.io/docs/openapi.json into Bolt or Cursor to keep payloads strictly typed.

Idempotency built in

Shoprivet enforces idempotencyKey on cart checkouts so retries never double-create customer orders.

Zero platform commission

Keep 100% of sales minus payment gateway fees starting on the $0/month Free plan.

Direct answers

Frequently asked questions

Does Bolt need a separate backend server to talk to Shoprivet?
No for storefront catalogs, carts, and checkout: /public/stores/{slug} routes work directly from the browser. Only /v1 merchant management endpoints require a backend server.
Can Bolt stores accept Paystack or Flutterwave as well as Stripe?
Yes. Shoprivet supports Stripe, Paystack, Flutterwave, Razorpay, PayPal, and Cash on delivery.
Where do I manage orders after a Bolt customer pays?
View and fulfill every order in the Shoprivet dashboard (or query GET /v1/stores/:storeId/orders from a backend).
Where is the step-by-step AI builder guide?
Read /docs/guides/ai-websites for copy-paste prompts and environment security checks.

Start free at $0/month

Launch with 0% Shoprivet platform fees.

Create a store in minutes, embed a catalog on your existing site, or call our public Storefront and /v1 APIs.

Create your free store