How to Build a Custom Website or Store with the DreamozTech API and Any AI

Shared by DreamozTech

Developer desk where AI assistants generate an online store connected to the DreamozTech API

AI assistants like ChatGPT, Claude, Grok, DeepSeek, Google Gemini and Microsoft Copilot can design a beautiful website in minutes. The hard part is everything behind it: products, prices, cart, checkout, delivery, orders and invoices.

DreamozTech handles all of that for you and serves it through simple API endpoints. You design the front end with your favourite AI; DreamozTech runs the store. This guide is for anyone on the Free Trial, Pro or AI Pro plan.


Step 1: Add your content and products

  • Go to Dashboard → Build Web Apps and create (or pick) your web app.

  • Add pages, child pages and products with prices, images and shipping. Turn on local pickup or discount codes if you need them.

  • Tip: you can bulk-load existing products with Import & Export (CSV from Shopify, Google Merchant and others).

Step 2: Get your API keys and OpenAPI spec

  • Open Dashboard → Build Web Apps → API and generate your API Key and API Secret.

  • Download the OpenAPI spec from the API tab, or give your AI assistant this public link: https://dreamoztech.com/api/public/wa/openapi.json. The spec documents endpoints, request fields, responses and errors to help your AI generate a compatible integration. If your assistant cannot open links, download the JSON file and attach it to your chat instead. Always review and test the generated code.

  • Security: never paste your API Secret into an AI chat or browser code. Keep it on your own server (or serverless function) and exchange it for a token there.

Step 3: The endpoints your site needs

  1. POST /api/public/wa/token — swap your key and secret for a bearer token (server-side).

  2. GET /api/public/wa/webapp — your pages, menu tree, products, prices and images.

  3. GET /api/public/wa/store/payment-config — public settings for the secure card form, delivery and pickup.

  4. POST /api/public/wa/checkout/pay — place and pay for an order. Prices and discount codes are always checked on our servers.

  5. GET /api/public/wa/orders/status — show buyers their order status and tracking link.

  6. POST /api/public/wa/contacts — send contact-form messages to your Dashboard inbox.


Step 4: Pick your AI assistant

ChatGPT

Upload the OpenAPI file in a chat (or Canvas) and paste the master prompt below. Ask for a React + Tailwind site or plain HTML/JS. You can also create a Custom GPT with the spec attached so every new chat already knows your API.

Anthropic Claude

Create a Project, add the OpenAPI file to its knowledge, and ask Claude to build the store as an Artifact so you can preview it live before downloading the code.

Google Gemini

Attach the spec in Gemini (or Google AI Studio) and ask for a full project — Vite, Next.js or even a Flutter mobile app — wired to the endpoints.

DeepSeek

Paste the relevant parts of the spec and ask for typed TypeScript models, data-fetching hooks and a cart component. DeepSeek is great at clean, typed code.

Grok and Microsoft Copilot

Paste a sample response from /webapp and ask for page sections, product grids and a checkout form. Copilot inside VS Code or GitHub works well for editing the generated project.

Any other AI or app builder

Lovable, Replit, Bolt, Cursor, Windsurf and similar tools all work the same way: give them the OpenAPI spec and the prompt below.

Advanced: MCP for AI assistants and developer tools

Model Context Protocol (MCP) lets compatible assistants, such as Claude Desktop and Cursor, call configured tools rather than just read documentation. DreamozTech’s currently advertised MCP tools provide an API integration guide, list published public pages and read a published page. When connected in a supported client, these tools help your assistant find relevant guides and use published content as context while building your front end.

OpenAPI and MCP complement each other: use the OpenAPI spec to generate your website’s API integration; use the MCP tools for interactive access to the available public guides and pages. The current MCP tools do not manage private stores, create drafts or access customer orders. Available tools and connection support depend on your AI client; never paste your API Secret into a chat.


Copy-and-paste master prompt

You are an expert front-end developer. Build a responsive, fast React + Tailwind website and online store that uses DreamozTech as its headless backend (base URL https://dreamoztech.com/api/public/wa). Read the OpenAPI spec at https://dreamoztech.com/api/public/wa/openapi.json (or use the attached JSON file if you cannot open links). Requirements: (1) a small server function exchanges my API key and secret at /token — never expose the secret in the browser; (2) load pages, menu and products from GET /webapp; (3) product pages with images, price in AUD and add-to-cart; (4) a cart and checkout that calls /store/payment-config and POST /checkout/pay, supporting delivery or local pickup and an optional discount code; (5) an order status page using /orders/status; (6) a contact form posting to /contacts; (7) good SEO titles and descriptions per page.


Step 5: Test, then go live

  • Try the whole flow during your 15-day free trial: browse, add to cart, check out, and watch the order appear in Dashboard → Orders.

  • Deploy your front end anywhere (Vercel, Netlify, Cloudflare and so on). Your content, orders and payments stay safe in DreamozTech even if you redesign later.

  • Upgrade to Pro for ongoing API access, or AI Pro to also get the built-in AI Site Builder and AI API.

Ready to build?

👉 Start your free trial at DreamozTech.com and connect your favourite AI today.