Overview
Let visitors design AR experiences on your own website, and follow every design from your server.
The Meishi editor runs on your page in a cross-origin iframe. Visitors upload an image, place the QR code Meishi makes for it, and add a video (uploaded or recorded on the spot), 3D objects, or text and links. Whoever scans the printed code then sees that content standing on the image.
Your page never handles the visitor's uploads, and Meishi never sees your page.
How the pieces fit
Visitor's browser Your server Meishi
───────────────── ─────────── ──────
<meishi-creator website-key="mk_live_…">
visitor designs and sends ──────────────────────────────────────────────▶ experience: reserved
'complete' event { experienceId } ──▶ add to cart / order
order placed:
POST …/confirm (sk_live_…) ──────▶ submitted → processing
◀──────────────── webhook experience.ready
print printPdfUrl, ship itCreate a website key
In Partner › Shops and integrations, create a key and list every website that may open the editor. The key (mk_live_…) is public: it only works on those sites.
Put the editor on your page
One script tag and one element, or the npm package. See The editor.
Connect your server (shops)
Under the key, in Server connection, choose who sends designs to Meishi, create a server key and add a webhook. See Server connection.
Selling on Shoptet or WooCommerce? The Meishi addon and plugin do all of this for you, with no code. See Shoptet and WooCommerce.