How to add a 3D model and AR to Squarespace

Squarespace doesn't have a built-in 3D viewer for products. Add the mygen3D viewer, with AR, using one Code block. Or link to it with a "View in 3D" button on any plan.

Example: a phone scan, cleaned up and set to its real size (6 cm).

Watch the video

Phone scan to 3D on your website in 5 minutes

1. Upload your scan or CAD file

  1. Open Upload and choose the file (GLB, USDZ, OBJ, FBX, PLY, STL, STEP, 3MF).
  2. Enter the real height in cm, then make the model Public or Unlisted in My models. Private models don't show on your site.

2. Add a Code block

  1. On your model page, click Copy embed code.
  2. In Squarespace, edit the page. Click Add block (+) and choose Code.
  3. Paste the code. Keep the mode on HTML and turn Display Source off.
  4. Save. The 3D viewer appears on your page.
<iframe src="https://mygen3d.com/hs_embed.php?s=fZPGxcdFHQ" width="100%" height="480" style="border:0;max-width:960px" allow="fullscreen; xr-spatial-tracking" loading="lazy" title="3D model"></iframe>
Check your plan: to put an iframe in a Code block, Squarespace needs a Core, Plus or Advanced plan (older plans: Business or Commerce). Checked November 2026.

3. Product pages

Add the Code block to that product's own content area (additional info), so each product shows its own model. Where that area is depends on your Squarespace version. If the viewer shows up on every product, use a "View in 3D" link in each product's description instead.

4. On any plan: a "View in 3D" button

  1. On your model page, click Copy viewer-only link.
  2. Add a Button block (or a text link) that says View in 3D, and link it to that address.
AR may not open from inside an embedded box on some sites. The "View in 3D" link opens the full viewer, where the AR button works on phones.

The same model works on Shopify, Wix, WooCommerce and Google Search.

Upload your scan