Expert

Embed on Your Website

Show published configurators on your own website

Embed in Three Steps

You embed a published configurator. The publish dialog gives you the finished code.

1

Publish

Publish the configurator. Then expand Embed on your website in the publish dialog.

2

Approve your website

Enter your website's address, for example https://www.company.com, and choose Create DNS proof. Add the TXT record shown at your DNS provider, then click Verify website origin.

3

Paste the code

Copy the code with Copy embed code and paste it into your page's HTML.

What the Embed Code Looks Like

<iframe
    src="https://app.confbuild.com/embed/YOUR_CONFIGURATOR_ID?embed=1"
    title="Configurator name"
    width="100%"
    height="640"
    style="border:0;"
    allowfullscreen
    loading="lazy">
</iframe>

The ID is the same as in the link of the published configurator (https://app.confbuild.com/p/ID). With company branding, the copied code also contains company=…. Use the code as it is.

Logo and Company Name

Under Embedding & branding in the publish dialog you can add a logo URL and a company name. Both appear in the top left of the embedded configurator.

Domain Approval

The configurator only appears on websites you have approved. On any other site, the browser blocks the iframe.

Approval Rules

  • The proof requires access to your domain's DNS records. The publish dialog shows the name and value of the TXT record.
  • Approvals cover HTTPS origins without a path or port. https://company.com and https://www.company.com count as two origins.
  • You can approve up to five origins per configurator. Revoke an approval in the same dialog.
  • A proof is valid for seven days. Until then, Create DNS proof returns the same TXT value for the same origin.
  • The regular link https://app.confbuild.com/p/ID cannot be embedded in other websites. Use the embed code with /embed/.

Responsive Embedding

Make the embed adapt to any screen size.

Responsive Container

<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
    <iframe
        src="https://app.confbuild.com/embed/YOUR_CONFIGURATOR_ID?embed=1"
        title="Configurator name"
        style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;"
        allowfullscreen>
    </iframe>
</div>

Embed Parameters

Customize the embed with URL parameters.

Parameter Description Example
embed Hides the top bar, “Edit Model”, Download and the share buttons; already part of the copied code ?embed=1
lang Language of the labels if the project has translations; original shows the original texts. Without it, the browser language applies ?lang=de
theme Light or dark; a color scheme set in the project takes precedence ?theme=dark
customer End-customer mode on (1) or off (0): reduced view with a request button ?customer=1

Combined Parameters

<iframe src="https://app.confbuild.com/embed/ID?embed=1&lang=de&theme=dark"></iframe>

Start with a Saved Configuration

Append the ID of a saved configuration to the path. The configurator then starts with that configuration instead of the defaults. The ID is in the configuration's link, for example in the request inbox.

https://app.confbuild.com/embed/ID/CONFIGURATION_ID?embed=1

Pass Your Own Start Values

Other parameters are available to the project's formulas as named values: ?width=1200 provides the value width. This only has an effect if the project's formulas use that name.

Data In and Out

You pass values through the URL when the page loads. Results reach you as requests.

No JavaScript Interface

There is no public JavaScript interface through which your page controls the embedded configurator at runtime or reads its events. Pass start values and saved configurations through the URL. Requests reach you through the request inbox and by lead email.

Requests and Cart

The embedded configurator takes requests itself. You switch these features on in the publish dialog under Visitor actions.

Quote request

Visitors send the current configuration with name, email and comment, optionally with phone and company.

Cart

Visitors collect several variants with quantities and send them as one quote or order request.

Lead email

Every request appears in the request inbox and reaches you by email.

Shop Systems and WordPress

There is no handover to the cart of a shop system such as Shopify or WooCommerce, and no WordPress plugin. You can paste the embed code into any system that allows custom HTML, provided you can approve the domain. Requests and orders run through the configurator's own cart.

Mobile Apps

In apps, load the configurator's address directly into a WebView. No domain approval is needed as long as you load the address directly and do not put it in an iframe.

iOS (Swift)

let webView = WKWebView()
webView.load(URLRequest(url: URL(string:
  "https://app.confbuild.com/embed/ID?embed=1")!))

Android (Kotlin)

val webView = WebView(ctx)
webView.settings.javaScriptEnabled = true
webView.settings.domStorageEnabled = true
webView.loadUrl("https://app.confbuild.com/embed/ID?embed=1")

Security

You decide which websites may embed your configurator.

Domain Approval

Only websites proven via DNS may embed

CSP Headers

Add confBuild to frame-src

Content Security Policy

If your website uses a Content Security Policy, allow confBuild as an iframe source:

frame-src https://app.confbuild.com

Embed your configurator

Embed configurators in your site