Setup guide · WordPress
Embed the 3D printing calculator in WordPress.
The Polyquote widget is a web component. Add it with a WordPress Custom HTML block or a template area. No separate WordPress plugin is required.
1. Add the widget snippet
In the WordPress editor, create a Custom HTML block. Replace the placeholder only after you have securely received your public widget key from the merchant dashboard.
<script src="https://www.polyquote.org/widget.js" defer></script>
<poly-quote api-key="YOUR_PUBLIC_WIDGET_KEY" theme="light">
</poly-quote>
The public widget key is intended for the browser. Never put a Supabase service key, password or other server secret on a web page.
2. Allow your merchant domain
Your exact website origin must be allowed in the merchant account, for example https://www.example.com. Protocol, hostname and subdomain must match. Test the canonical domain and any redirects.
3. Test on the actual page
- Load the widget on mobile and desktop; check that its theme and width suit your layout.
- Before a real request, verify the allowed origin and configured materials and prices.
- Test from upload through internal review. Invalid files and unavailable production services should show a clear message.
- Make legal and privacy information visible, and explain that you remain responsible for binding offers.
Optional: match your design
The widget encapsulates its interface. You can adjust colours and typography with documented CSS custom properties. Keep text and background contrast accessible.
Also see: Appearance options · Feature overview · Pricing and invoicing.