Add the "Model Viewer" visual component in your application and fill the fields.
Each field is preset with a safe default and is well documented, so don't hesitate to click "show documentation" for any field that you find confusing.
**SUPPORTED FILES**:
This plugin supports only GLB and glTF files.
**DIRECT URLs are required**:
You must pass the plugin a URL that points directly to those files, so it's up to you to store them on the internet.
Website like Sketchfab or Google Drive do not offer a direct URL.
In these cases you can download the models and host them directly on Bubble for free using Bubble's filehosting database as explained below.
**Free filehosting on Bubble:**
You can host the 3D models for free directly on Bubble by uploading them from the application menu "Data > File Manager" with the "Upload" button.

You can then get the direct URL by right-clicking on the file and selecting "Copy link address".
*** v2.0.0 ***
Following the upgrade to "model-viewer" 2.0.1, we had to apply the following breaking changes:
Removed following properties:
- "bounds": it will behave as "tight"
- "interaction policy": it will behave as "always allow"
- "interaction prompt style": it will behave as "wiggle"
Removed the "when focused" option from the "interaction prompt" property
We also added the following new features:
- Panning is enabled by default: use two fingers on mobile devices and mouse + ctrl/cmd key on desktops
- "iOS USDZ URL" is no longer required for iOS devices as it we will generate it on the fly (if the property is left empty)