Introduction
Overview of ByteChef Embedded, which adds third-party integrations and per-user workflows to your own product.
ByteChef Embedded lets you offer third-party integrations inside your own SaaS product. Your end users authorize the services they already use (Gmail, Slack, HubSpot, AWS S3 and 200+ more) from your UI, and ByteChef runs the workflows you publish with each user's own credentials. You build the integrations once in ByteChef; your product shows them through the @bytechef/embedded React SDK or calls them through the embedded REST API.
Enterprise Edition only
Embedded requires an Enterprise Edition deployment (bytechef.edition=EE). The open-source (CE) build does not expose the /embedded UI or APIs.
Get started
Three short pages take you from zero to a working connect flow. The single-page Quick Start covers the same steps end to end.
Installing the SDK
Install @bytechef/embedded and authenticate your end users with signed JWTs.
Adding an Integration
Choose a component, register a developer app, and publish the integration.
Displaying the Connect Dialog
Open the hosted dialog so users can authorize integrations from your app.
Sample App
A runnable Next.js and Fastify reference implementation of the whole flow.
The in-app Getting Started checklist
In the Development environment, an admin of an EE instance sees Embedded → Getting Started in the sidebar until the checklist is complete. It tracks four steps against your instance's real data:
- Create an API key - the key your backend uses to call the embedded API.
- Set up your first integration - create an integration, publish a version, create a configuration in Development and enable it.
- Connect a test user - add a connected user, provision the integration for them and connect their account.
- Make your first call - run the generated
curlcommand, which executes a component action for the test user, and the page confirms when the call arrives.
Capabilities
| Capability | Description |
|---|---|
| 200+ pre-built components | Connectors for the SaaS apps your users already work with. |
| Embeddable React SDK | useConnectDialog opens a connect-and-authorize flow, useActivationDialog and ActivationDialog activate an automation template, AutomationHub embeds a catalog of automation templates, IntegrationMarketplace embeds an integration catalog, and EmbeddedWorkflowBuilder embeds the workflow editor. See Installing the SDK. |
| Per-user connection store | Each end user has their own credentials, kept separately per environment (Development, Staging, Production). |
| App Events | Define events in your product (for example user.signed_up or order.placed) and start the workflows that subscribe to them. |
| Permission expressions | Limit integrations and individual workflows to a subset of connected users with a SpEL expression. |
| AI workflow generation | Generate a workflow for a connected user from a natural-language prompt with POST /api/embedded/v1/automation/workflows/generate. Requires AI Copilot (BYTECHEF_AI_COPILOT_ENABLED=true). |
| Workflow execution history | Every run, step by step, in the ByteChef admin UI under Embedded → Workflow Executions. Execution history is not part of the public API. |
| MCP Servers | Expose components and workflows as Model Context Protocol tool servers for AI agents. See MCP Servers. |
Further reading
- White-label execution - how the workflow engine runs inside your product, and the tenant-isolated security that separates each customer's data.
- Permission expressions - control which integrations and workflows each connected user sees.
- Embedded Configuration APIs - programmatic access to integrations, workflows and connections.
- MCP servers - expose each connected user's tools and workflows to their AI agents.
How the pieces fit together
Your product (web app, mobile, backend)
│
│ 1. Backend signs a short-lived JWT using a Signing Key
│ 2. Frontend passes JWT to @bytechef/embedded
│
▼
ByteChef Embedded
├── Integrations - integrations you build for your customers
├── Configurations - published integration versions per environment
├── App Events - events your product fires to trigger workflows
├── Automations - automation templates connected users activate
├── MCP Servers - components and workflows exposed as MCP tools
├── Connected Users - your end users (identified by externalUserId)
├── Connections - per-user credentials for each integration
└── Executions - history of every workflow runTraffic flows in two directions:
- Your product to ByteChef: authenticate end users with a JWT signed by a Signing Key, fire App Events that start workflows, and call the embedded API server-to-server with an API Key.
- ByteChef to third-party services: run your published workflows with each connected user's credentials.
Embedded or Automation
ByteChef has two modes:
| Mode | Use it when |
|---|---|
| Automation | You run workflows for yourself or your internal team. You own the connections and the workflows. |
| Embedded | You ship integrations to your customers inside your product. Each customer has their own connections and activates the integrations and automations you publish. |
How is this guide?
Last updated on