Embed in Webflow

Add voice calls to your Webflow site using Embed elements or custom code

Quick Start

1

Get Your Widget Key

Sign up at mediasfu.com to get a free widget key.

2

Add an Embed Element

In Webflow Designer, drag an Embed element onto your page (Add → Embed).

3

Paste the Widget Code

Copy one of the code snippets below, replace YOUR_WIDGET_KEY, and paste into the Embed element's HTML field.

4

Publish

Click Publish. The widget appears live on your site.

Widget Code Snippets

Click-to-Call Button

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="click-to-call"
  button-text="Start Call">
</mediasfu-widget>

AI Agent

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="ai-agent">
</mediasfu-widget>

Meeting Portal

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="meeting-join">
</mediasfu-widget>

Calls Dashboard

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="calls">
</mediasfu-widget>

Web Agent

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="web-agent-embed"
  width="100%"
  height="600px">
</mediasfu-widget>

Agent Dashboard

<script src="https://cdn.mediasfu.com/widget.js"></script>
<mediasfu-widget
  widget-key="YOUR_WIDGET_KEY"
  widget-type="web-agent-dashboard"
  width="100%"
  height="700px">
</mediasfu-widget>

Configuration Options

Customize your widget with these attributes:

Advanced: Global Script Injection

To load the MediaSFU script site-wide (so you can use multiple widgets on different pages), add this to your Webflow project settings:

Go to Project Settings → Custom Code → Head Code:

<script src="https://cdn.mediasfu.com/widget.js"></script>

Then you can omit the <script> tag from individual Embed elements and just use the widget tag.

Testing Your Widget

  1. In Designer, click Preview to see the widget live
  2. Or publish your site and visit it in a browser
  3. Click the widget button or element
  4. Verify you hear the call connect
  5. Check the browser console (F12) for any errors

Troubleshooting

Widget not appearing?

Widget key rejected?

Calls not connecting?

Need help? Contact support@mediasfu.com or visit mediasfu.com/docs.