Skip to main content

Configuration

Customize the embedded FlowStack experience with configuration options.

Props / Options

PropertyTypeDefaultDescription
tokenstringRequiredJWT authentication token
viewstring'builder'Which view to render (see Views below)
themestring'light'Color theme: 'light' or 'dark'
localestring'en'Language code (e.g., 'en', 'es', 'fr')
flowIdstringundefinedOpen a specific flow for editing
hideNavigationbooleanfalseHide the FlowStack top navigation bar
hideSidebarbooleanfalseHide the left sidebar
allowedPiecesstring[]undefinedRestrict available integrations to this list
disabledPiecesstring[]undefinedHide specific integrations
styleCSSProperties{}Inline styles for the container
classNamestring''CSS class for the container

Views

ViewDescription
'builder'Flow Builder — visual automation editor
'workflow-builder'Workflow Builder — n8n-based advanced editor
'flows'Flows list — all automations with run/edit/delete actions
'connections'Connections manager — connect and manage app integrations
'runs'Run history — execution logs and monitoring
'templates'Templates gallery — browse and install templates

Example: Full Configuration

<FlowStackEmbed
token={token}
view="builder"
theme="dark"
locale="en"
hideNavigation={true}
hideSidebar={false}
allowedPieces={['gmail', 'slack', 'google-sheets', 'http']}
style={{ width: '100%', height: '100vh', border: 'none' }}
onFlowCreated={(flow) => handleFlowCreated(flow)}
onFlowUpdated={(flow) => handleFlowUpdated(flow)}
onError={(error) => handleError(error)}
/>

Restricting Integrations

Control which integrations your users can access:

Allow List

Only show specific integrations:

<FlowStackEmbed
token={token}
view="builder"
allowedPieces={['gmail', 'slack', 'google-sheets', 'stripe', 'http']}
/>

Block List

Hide specific integrations (show everything else):

<FlowStackEmbed
token={token}
view="builder"
disabledPieces={['ftp', 'ssh', 'custom-code']}
/>

Responsive Design

The embed SDK is fully responsive. Set the container width and height to control the layout:

// Full viewport
<FlowStackEmbed style={{ width: '100vw', height: '100vh' }} />

// Sidebar panel
<FlowStackEmbed style={{ width: '400px', height: '100%' }} />

// Percentage-based
<FlowStackEmbed style={{ width: '100%', height: '600px' }} />

The builder interface automatically adapts to the available space, collapsing panels and adjusting layouts for smaller viewports.