Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Build your widget

Use the widget builder to choose the integrations your customers see, set the layout and style, and preview the customer experience.

The widget is what your customers see: the integrations panel embedded inside your product, where they connect apps and turn integrations on. You configure it visually in the widget builder; your development team handles the embed code separately.

Prerequisites: Complete Quickstart. This tutorial covers building or customizing your widget beyond that initial setup.


Opening the widget builder

In the sidebar, open Embed → Widget (/widgets). There is no list of widgets: the page is the builder.

The builder opens with two panels: the Widget builder on the left, with Layout, Style, Features and Embed tabs, and the Live preview on the right. Everything you change on the left updates the preview in real time.


Adding integrations to the widget

Below the tabs at the top of the left panel is an INTEGRATIONS section. This is the list of integrations your customers can turn on through the widget.

  1. Click Add to open the Add Integrations dialog.

  2. Pick connectors on the Apps tab, or unified API categories on the Unified tab.

  3. Each integration appears as a row with a status dot (draft or active) and two buttons: Edit integration (pencil) and Delete integration (trash).

The pencil opens Edit Integration, where you set the integration's connectors, workflows, triggers and callbacks. See Edit Integration.


Configuring Layout

Click the Layout tab. It has two groups.

Header content

Title - The heading your customers see at the top of the widget (default Integrations).

Subtitle - A short line beneath the title (default Connect your favorite tools). Leave it empty to hide it.

Sections

The Sections group toggles the optional parts of the widget. A count beside the heading reads N of 3 shown. Each row has a switch, and you can reorder rows by dragging or with the up and down arrows that appear on hover.

Section
What it shows

Header and branding

Your title, subtitle and accent color across the top. Turn it off if your product already has its own header above the widget.

AI assistant

A floating Ask the assistant launcher in the bottom-right corner, where a customer can describe what they want connected.

Search bar

A Search integrations field. Worth showing once there are more than about a dozen connectors.

The apps list itself is always shown; it is the widget's core content, not a toggle. Workflows appear inside each integration's detail view, and Insights (the customer's own runs, records processed, connection health and alerts for Today, 7 days or 30 days) opens from the menu in the widget's header.

A hidden section reads Hidden from widget, and the live preview updates immediately as you reorder or toggle sections.


Customizing Style

Click the Style tab to match the widget to your product. It has five sub-tabs:

  • Theme - Light or Dark as the base. Everything except your accent color derives from it.

  • Accent - Accent (default #4F46E5) and Text on accent (default #FFFFFF), with a live contrast readout.

  • Type - Font, base size, font weight and letter spacing.

  • Shape - Corner rounding presets plus Global radius (cards, panels and dropdowns), Button radius and Input radius, and Shadow strength (None, SM, MD or LG).

  • Tokens - Individual surface colors, Allowed Origins, Show 'Powered by fastn', Compact mode, and the Design Tokens block with Import from JSON, so you can apply your own design system in one step.

Every control is described on Style.


Features

Click the Features tab. It has two groups.

Available now:

  • Catalog connectors - Show all catalog connectors in the widget so customers can browse and connect them. Off by default.

  • Workflow Diagram - Show the generated flow diagram on a workflow in the widget. Off by default.

  • Generate MCP URL - Let a customer generate a one-time URL from the header menu that connects an MCP client (Claude, ChatGPT, Cursor and others) to their integrations, with no account. On by default.

Coming soon (shown but not yet switchable):

  • Widget filter - "Let customers filter widgets by category or status."

  • Role based access - "Role-based access control per widget."

See Features.


Using the live preview

The right panel shows exactly what your customers will see. The toolbar reads Live preview · what your customer sees, and has these controls:

Mobile / Tablet / Desktop - A segmented control that switches the preview width. Tablet is selected by default.

Customer selector - Reads View as admin until you pick a customer. Pick one to render the widget with that customer's real connection states rather than a mock-up. The assistant launcher stays disabled until a customer is picked.

Preview - Opens the widget full page in a new tab (/widgets/hub), for the customer you picked. It needs a fastn login, so it is for you and your team, not a link to send to a customer.

In the preview, each integration shows its app icons and name, its connection status, and a single action: Connect if the customer has not set it up yet, or Manage once they have. When the apps list is the only tab, the tab bar is hidden. At the bottom, the Powered by fastn footer shows unless you turned it off on the Tokens sub-tab.


Publishing and sharing

The builder header shows a badge: Live when everything is saved, Unsaved changes while you have edits pending. The sticky footer carries three buttons:

  1. Save and publish (on the right) publishes your changes to the live widget.

  2. Discard changes appears only while you have unsaved edits. It puts the builder back to the configuration that is published right now; nothing your customers see changes.

  3. Reset (on the left) is not undo. It opens Reset widget to defaults?, and after you type RESET it throws away the whole configuration (sections, integrations, templates and theme) and publishes the defaults to every customer using the widget, immediately. It cannot be undone. Widget actions ⋯ → Reset to defaults in the builder header does the same thing.

Handing off to your developers

Click the Embed tab. It has three sub-tabs: Iframe, SDK, and A2A (marked coming soon).

  • Iframe - Pick a customer in the User dropdown and copy the Embed Code block. The snippet carries a live token so you can try it at once; for production, your developers mint short-lived tokens from your backend. Tokens last eight hours. This sub-tab also creates Shareable links for a customer, when you need to put the widget in front of them before the embed ships.

  • SDK - Four variants: Connect card, React component, Script tag and Build your own UI, each with a code block. All but Script tag (a hosted bundle) also show an install command.

  • A2A (coming soon).

Hand this off to your development team - see Embedding fastn in the Developer tutorials for the token generation and iframe setup.


What you've learned

  • How to open the widget builder from Embed → Widget

  • How to add, edit and delete the integrations your widget offers

  • How to configure Layout - header content, and the three optional Sections (show, hide and reorder)

  • How to customize Style across five sub-tabs: Theme, Accent, Type, Shape and Tokens

  • Which features are available now and which are coming soon

  • How to use the live preview: widths, the customer selector and the full-page Preview

  • How Save and publish, Discard changes and Reset differ, and how to hand off the Embed tab to your developers

Last updated

Was this helpful?