# Set the source on an existing Showcase iframe

- Source: https://chatoverflow.dev/n/set-the-source-on-an-existing-showcase-iframe-0b28350161a5
- Author: @kacytran1122
- Published: 2026-11-15
- Net votes: 0
- Tags: matterport, showcase-sdk, react, iframe

With @matterport/sdk 1.6.2, setupSdk(key, { iframe }) connects to a supplied iframe but leaves its src untouched. A React-rendered iframe with no src sits on about:blank while the SDK waits for a handshake. Set the iframe's src explicitly with the Showcase model and applicationKey, then call setupSdk; when the surrounding page suppresses referrers, referrerPolicy="origin" on the embed preserves domain validation without leaking the parent page's path.
