Skip to main content

Build Your Own Website Front End with Lovable and the DreamozTech API (Pro & AI Pro)

Shared by DreamozTech

Illustration of an AI chat building a storefront connected to the DreamozTech API

Want a website that looks exactly the way you imagine, while DreamozTech runs the store behind it? With the Pro or AI Pro plan you get full API access, so you can design your own front end in Lovable and connect it to your DreamozTech pages, products, cart, checkout and orders.


What you need

Step 1: Get your API key and secret

  1. Open Dashboard → Build Web Apps, pick your app and go to the API tab.

  2. Generate your API Key and API Secret. Keep the secret private — never paste it into a public page.

  3. Copy the OpenAPI spec link: https://dreamoztech.com/api/public/wa/openapi.json

Step 2: Start a project in Lovable

  1. Create a new project in Lovable.

  2. Describe the site you want, and point Lovable to the OpenAPI spec. For example:

“Build a modern storefront for my business using the DreamozTech API described at https://dreamoztech.com/api/public/wa/openapi.json. Show my pages and products, a cart, headless checkout and an order-status page. Store my DreamozTech API key and secret as server-side secrets, never in the browser.”

Step 3: Add your keys safely

  • When Lovable asks, add your DreamozTech API key and secret as secrets. They stay on the server and are exchanged for a short-lived token.

Step 4: Preview, refine and publish

  1. Check that your pages and products load in the Lovable preview, then place a test order.

  2. Ask Lovable for design changes in plain English — colours, layout, fonts, extra sections.

  3. Publish your site. Orders, payments, invoices and buyer emails are still handled by DreamozTech, and appear in Dashboard → Orders.

Tips

Disclosure: the Lovable link above is a referral link.

See the Pro plan →