Installation Guide

Three ways to deploy your AI SuperFan — choose the method that fits your stack.

Embed Widget

The embed widget is the fastest way to add your AI SuperFan to any webpage. Paste the script tag before the closing </body> tag and add the <swvle-superfan> element where you want the widget to appear.

Script tag

<script
  src="https://cdn.swvle.com/embed/v1/superfan.js"
  async
></script>

Widget element

<swvle-superfan
  workspace-id="YOUR_WORKSPACE_ID"
  theme="dark"
></swvle-superfan>

Iframe (alternative)

<iframe
  src="https://embed.swvle.com/superfan?wid=YOUR_WORKSPACE_ID"
  width="100%"
  height="600"
  frameborder="0"
  allow="clipboard-write"
></iframe>

Replace YOUR_WORKSPACE_ID with the ID found in your Swvle workspace settings.