Platform · Widget

An embedded integrations page your customers run themselves

Customers connect their apps, set the rules and see how each integration is doing, inside your product. Your agent designs the page to match the rest of your app, and their AI assistant can change their own integration.

In the fastn widget builder, the Embed tab shows an iframe snippet. It is copied into Acme's settings page, where the integrations page appears with Salesforce and HubSpot connected. Acme's customer connects Salesforce once and fastn keeps it syncing on events, both ways.
In detail

An integrations page that looks like the rest of your product. Your agent designs it. Your customers run it.

The widget is the only part of fastn your customers see. They never sign in to fastn. You decide how it looks, down to the markup, and they connect, configure and extend their own integrations inside it.

Design it with your AI assistant

In Claude, connected to fastn

YouMake our integrations page match the settings screen: categories on the left, our Inter font and violet accent, compact rows with a status dot, and a Request an app button at the bottom.

AgentDone. I wrote the page with the fastn UI library, checked it renders with no errors, and saved it as a draft. Open Widget Studio to preview it as one of your customers, then publish.

Draft saved · customers see nothing until you publish
Restyle in settings
Theme, accent, type, shape, the design tokens, sections, title and subtitle. Change them in the widget builder, or ask your agent to.
Or write the whole page
Anything the settings cannot express becomes a custom page: one HTML document your agent writes on the fastn UI library, so it can match your design system exactly.
Grounded, not guessed
The agent reads the library's real components and props, and every draft reports render errors back to it before you see it.
Nothing ships unseen
Every save is a new version you can restore. A person clicks Publish. Preview as a real customer, share a preview link, and promote across environments with review.
Every language
Translate names, buttons, sign-in fields and settings labels per language. The widget's own text already ships in 22 languages.

Your customers do the rest themselves

Each of Acme's customers connects their own apps: Globex allows NetSuite access in one click. Globex changes a setting, or asks Claude to save form messages as notes on HubSpot contacts, and the assistant forks a copy, writes and runs the tests, and publishes Your version. Only Globex's integration changes; Initech and Umbrella Corp keep the original.

Connect their apps

Customers sign in to their own accounts, through OAuth under your own OAuth app, an API key, basic auth or a token.

  • Several accounts per app, each with a name
  • Fix credentials, reconnect or disconnect
  • Credentials stored encrypted, never shown to them

Configure each integration

Field mappings with live previews of their real values, filters, and the settings forms you define. Changes apply on the next run.

  • Two-way sync, field by field
  • Filters with eight operators
  • Run or remove each workflow

See it working

An Insights tab shows runs, records synced, failed and skipped, and what needs attention. Each workflow shows its diagram, executions and errors.

  • Their own failure alerts in one click
  • Sent by email, Slack, Teams or webhook
  • Ask their AI assistant what synced

And extend it with their own AI assistant

Build with AI, inside your widget

CustomerAlso sync the Industry field, and only deals over $10,000.

AgentI read both apps' fields. I will map Industry to industry and add a filter, Amount greater than 10,000, in your own version of this integration. Approve?

Your version · Customized from HubSpot to QuickBooks
Their own version
The assistant copies the integration into that customer's workspace and changes only the copy. Your original is never modified.
Only for them
The catalog shows the original and Your version. Only that customer runs their version, and they can switch back to the original.
With their consent
Nothing changes until the customer approves the change in the widget.
From Claude too
A customer can connect Claude to their own integrations from the widget menu, as themselves, and check what synced.

Put it in your product

npm · @fastn-ai/embed

Connect card

The smallest surface: one card, one button.

A logo, a line of copy and a button, rendered in your own page. The widget opens over it as a modal.

npm install @fastn-ai/embed
Integrations.tsx
import { FastnConnectCard } from '@fastn-ai/embed/react'

<FastnConnectCard
  orgId={customerId}
  getToken={() => fetch('/api/fastn-token', { method: 'POST' })
    .then(r => r.json()).then(d => d.token)}
  onConnected={({ connectorId }) => refetch()}
/>

One endpoint on your server

The getToken() call in each example above asks your server for a token for the customer who is signed in.

  1. Your customer signs in to your product, as they do today.
  2. The widget asks your server for a token. This route is the whole endpoint: it uses your fastn API key to get a token for that one customer.
  3. The widget uses the token. Your API key never leaves your server, and the token only reaches that customer's integrations.

A token lasts eight hours, and the SDK renews it for up to seven days.

app/api/fastn-token/route.ts
import { createFastnTokenRoute } from '@fastn-ai/embed/server'

// POST /api/fastn-token: the endpoint every getToken() above calls
export const POST = createFastnTokenRoute({
  // Which customer is signed in, from your own session
  customer: async () => ({ id: user.orgId, name: user.orgName }),
})

Start building today.

Add customizable integrations to your product, built and run by AI agents. Start free with 3 customer connections.

3 customer connections free · the builder agent starts on Scale