Connect the Chat to an External Website
A link to the standalone chat URL is the secure default. Use an iframe only when the security policy of your SPChat installation explicitly allows that parent website.
Choose the Public Chat URL
Use an HTTPS address under your licensed domain, such as
https://chat.my-radio.com/. Open the URL directly first and check sign-in, rooms and the mobile layout.Add a Chat Link to the Website
Place the link in the navigation, player or broadcast page. A new tab keeps the website and chat technically separate.
<a href="https://chat.my-radio.com/" target="_blank" rel="noopener">Open community chat</a>Secure an Optional iframe
To show the chat inside the page layout, allow only your own website in the configurable
frame-ancestorsContent Security Policy. Do not allow arbitrary domains.<iframe src="https://chat.my-radio.com/" title="Community chat" width="1200" height="800" loading="lazy"></iframe>Test the Embed in a Private Window
Check sign-in, sign-out, room changes, file uploads and the layout on mobile and desktop. If the browser blocks the iframe, inspect
Content-Security-PolicyandX-Frame-Optionson the chat domain.
Important: SPChat does not use a separate embed SDK. The integration uses the regular chat URL. Keep the standalone view as a fallback.