Embedding n8n in your product: OEM licensing, canvas-only mode and token exchange

Embedding the n8n editor in a SaaS product needs an OEM agreement, canvas-only configuration and a deliberate SSO design. This page covers the options, trade-offs and the backend-only alternative.

On this page

Embedding n8n in your product: what the editor inside your SaaS requires

If you want your customers to build workflows inside your SaaS product, the n8n editor cannot simply be placed in an iframe under the default Sustainable Use License. Embedding the editor as part of your product is a commercial distribution question, and it needs an OEM agreement with n8n that sets out what you may brand, how you may present the editor and what you may pass to end users. Confirm the exact terms, including branding rights and whether your customers are treated as end users under the agreement, with n8n before you commit to a design. Ask for the agreement in writing before any customer-facing build starts.

The integration rests on three building blocks. Canvas-only mode, available from n8n 2.15.0 and set with N8N_CANVAS_ONLY, hides navigation, the command bar and some shortcuts across the whole instance, so it suits an instance dedicated to your embedded editor, not one that also serves your own staff. Iframe SSO lets your application's users reach the editor without a second login, and delegated API access uses OAuth 2.0 Token Exchange (RFC 8693), enabled with N8N_ENV_FEAT_TOKEN_EXCHANGE. Token exchange is an Enterprise Preview feature, so confirm its status, support commitments and production readiness with n8n before you plan a release around it.

A backend-only integration is often the better fit when your customers need results but not authoring. Your application can call n8n workflows through its API and webhooks, while your own team owns the workflow logic and the credentials behind it. This avoids the OEM editor surface, reduces the number of identity and token paths you must secure, and keeps customer data flows inside a model you can document for your customers' security reviews. Decide early which of the two models your customers actually need, because switching later changes your licensing, your SSO design and your support obligations.

Choosing between the full editor, canvas-only mode and backend-only

In this pattern your customers reach the complete n8n editor inside your product, usually in an iframe, with navigation, settings and the command bar available. Users can create, edit and run workflows across the wider interface, so your product effectively offers n8n as a feature.

  • Customer view: The full n8n interface, including menus and instance settings unless your configuration restricts them.
  • What your team builds: Iframe embedding, the sign-in handoff, mapping your tenants to n8n users or projects, and any delegated API access. Token exchange, described in n8n's token exchange docs, is an Enterprise Preview feature, so confirm its status for your version.
  • Licensing exposure: The highest of the three. Giving customers an n8n editor inside a commercial product is customer-facing use that needs an OEM agreement before launch.
  • Maintenance burden: Each n8n release can change the editor you embed, so you retest the iframe integration and sign-in flow on every upgrade.
  • Isolation risk: Customers see more of the platform, so tenant separation and permissions must be designed before exposure.

Before you commit, get the OEM terms and branding rules in writing and confirm what your tenants can reach in the administrative screens.

Configuration options and when each fits

This table compares the four routes for putting n8n in front of your users or systems: canvas-only mode, token exchange, SAML single sign-on and backend-only API use. Read each row against the scope of the setting, the license edition it needs and whether your users must see the editor at all. The main takeaway is that canvas-only mode changes the whole instance, so a shared instance may not suit mixed audiences.

OptionWhat it doesTrade-offWhen it fits
N8N_CANVAS_ONLYShows only the workflow canvas, hiding navigation, the command bar and some shortcuts. Available from n8n 2.15.0.Applies to the whole instance, so other users on that instance lose the standard navigation too.Your embedded users only need the canvas, and you can dedicate an instance to them.
N8N_ENV_FEAT_TOKEN_EXCHANGEEnables OAuth 2.0 Token Exchange (RFC 8693) for iframe SSO and delegated API access by embedding partners. Enterprise Preview feature.Preview status, so confirm stability and support terms with n8n before you depend on it in production.Embedding partners need delegated access and you hold an Enterprise arrangement with n8n.
SAML single sign-onSigns users into n8n through your identity provider, with setup guides for Okta Workforce Identity and Azure AD.Available on Business and Enterprise plans only, and it signs users in rather than issuing tokens to a host application.Your own staff or a known user population should sign in through your corporate identity provider.
Backend-only API useYour product calls n8n through its API and shows results in your own interface, without the n8n editor in view.You build and maintain all user-facing screens, but you avoid exposing the editor and its instance-wide settings to customers.Your customers should never see n8n, or the editor's scope and branding rules conflict with your product.
OEM agreement and brandingCovers whether and how you may embed and rebrand the editor in a commercial product.Requires a commercial arrangement with n8n, and the terms must be confirmed in writing before design work starts.You plan to ship the editor to paying customers inside your own product.

How to set up iframe SSO with token exchange

This sequence takes an embedding team from licence confirmation to a verified iframe session, where a user signed into your product opens the n8n canvas without a second login and their delegated API access stays limited to the scope you set. Each step closes with a check so problems surface before the embed reaches customers.

  1. Confirm OEM and Enterprise entitlement

    Your commercial or legal owner confirms in writing that your agreement covers embedding the n8n editor in your product, including the branding terms that apply. Token exchange is an Enterprise Preview feature, so the instance must run under a valid Enterprise license. Ask n8n to confirm which features your entitlement includes, because the token exchange documentation and your contract define what you may run. Done when you hold a signed scope statement that names the embedded editor, the instance count and the feature set.

  2. Enable canvas-only mode on a dedicated instance

    Your platform team deploys a separate n8n instance for embedded use and sets the canvas-only option, N8N_CANVAS_ONLY, which n8n documents as available from version 2.15.0. Canvas-only mode applies to the whole instance, so do not share it with staff who need full navigation. Confirm the exact setting against the canvas-only deployment guide for your version. Done when a logged-in test user sees only the workflow canvas, with navigation, the command bar and the affected shortcuts hidden.

  3. Enable the token exchange feature flag

    Your platform team sets the feature flag N8N_ENV_FEAT_TOKEN_EXCHANGE on the dedicated instance and restarts it under your change process. The flag turns on OAuth 2.0 Token Exchange under RFC 8693, which the embedding partner uses for iframe SSO and delegated API access. Confirm the flag name and any companion settings in the token exchange documentation before you change production. Done when the instance restarts cleanly and the token exchange endpoints respond in your test environment.

  4. Configure the identity provider and token issuance

    Your identity engineers register the n8n instance as a trusted party with your identity provider and configure how your product issues the subject token that n8n exchanges. Define the audience, the signing keys, the token lifetime and the claims that identify the tenant and the user. Record each value in your configuration inventory, and confirm the exact field names against the token exchange documentation. Done when a test token issued by your product is accepted in exchange and returns a scoped n8n session, and a token with the wrong audience is rejected.

  5. Embed the editor in an iframe

    Your front-end team adds the n8n canvas to a page in your product as an iframe pointed at the dedicated instance. Set the frame to load only from your own origin, restrict framing on the n8n side to your domains, and keep the exchange request on the server where your signing keys live. Confirm the framing and cookie settings with your browser security review, since third-party cookie handling affects session handoff. Done when the canvas loads inside your page for a test user without a sign-in prompt.

  6. Verify session handoff and delegated scope

    Your QA and security engineers sign in as users from two test tenants and confirm that each user sees only their own workflows, credentials and executions. Attempt to reach another tenant's resources through the iframe and through direct API calls, and confirm each attempt fails. Record the granted scopes for each delegated token and compare them with the access your product intends to give. Done when cross-tenant access attempts are denied in every test and the recorded scopes match your written access model.

  7. Test logout and session expiry

    Your QA team signs out of your product and checks that the embedded n8n session ends with it, then waits for the token lifetime to pass and confirms that a stale frame cannot run actions. Test revoking the user in your identity provider and confirm that existing n8n sessions stop working within the lifetime you set. Repeat the checks for a session that was left open in a second browser. Done when logout and revocation both end access in every test case, and the results are filed with the change record for your security review.

How a customer session reaches the embedded canvas

The session starts when the customer signs in to your SaaS through your identity provider, and your backend holds that identity. Your backend then asks n8n for a narrower token through the token exchange (RFC 8693), so the browser never carries your broader credentials. The iframe loads the canvas-only editor with that scoped token, and your backend later calls n8n's API on the customer's behalf. Check that the exchange is enabled on your plan, that each token's scope matches the tenant, and that the trust boundary between your backend and n8n is clear.

Trust boundaries between the SaaS, the identity provider and n8n during an embedded session.

Security risks the embedding design must address

Embedding the n8n editor puts a shared workflow engine in front of your customers, which changes who can reach credentials, data and controls. The cards below cover the risks that tend to surface first in an OEM design, and what to verify in your own environment before customers log in.

Credential exposure to customers

Credentials saved in n8n are only as protected as the access path to them. When customers build workflows in an embedded canvas, they can reach any credential their role permits, and a poorly scoped role can expose secrets your product uses for its own integrations. Confirm which credentials are visible to embedded users, whether they can read secret values or only use them in nodes, and whether your platform credentials sit in the same instance at all.

Token exchange docs

Tenant isolation within a shared instance

A single n8n instance serving several customers relies on project and role boundaries rather than separate databases or processes. Workflows, executions and credentials from one tenant must not appear in another tenant's canvas, logs or API responses. Test isolation with two customer accounts that try to read each other's workflow IDs, execution history and credential names, and record which controls enforce the boundary.

Token lifetime and scope

Token exchange under RFC 8693 lets your identity provider trade a user's token for a token n8n accepts, which makes the token lifetime and scope a design decision. A long-lived or broadly scoped token can let an embedded session call APIs beyond the workflow canvas. Ask how long exchanged tokens last, which audiences and scopes they carry, and how revocation on logout or role change reaches an open session. Token exchange is an Enterprise Preview feature, so confirm its behavior with n8n before you depend on it.

Set up token exchange

Iframe clickjacking and frame policy

An embedded editor runs inside your product's page, so a hostile page that frames your product or the n8n frame can trick users into clicking actions they did not intend. Frame policy headers and the allowed parent origins decide who may embed the editor. Test whether n8n can be framed by unexpected origins, confirm that your own pages set frame-ancestors restrictions, and review how canvas-only mode hides navigation that might otherwise help users spot a misleading frame.

Audit logging of customer actions

When a customer edits or runs a workflow through your product, the record of that action should show the customer identity, not only a shared service account. Without that link, you cannot answer who changed a flow that sent data to a third party. Confirm which events the instance logs, whether the user identity from your SSO reaches those logs, where logs are retained, and whether you can export them to your own log store. Note that log streaming is listed as a Business and Enterprise feature on n8n's pricing page.

n8n pricing page

Shared encryption key handling for workers

In queue mode, the main instance's encryption key must be shared with every worker and webhook processor so they can read credentials from the database. Every process holding that key can decrypt every stored credential, so the key spreads with each worker you add. Plan how the key is stored, rotated and restricted to the processes that need it, and confirm the exact rotation steps with n8n's documentation for your version before customers store their own secrets.

Queue mode docs

What a SaaS vendor's customers will ask for

If you embed n8n in your product, your customers will treat you as a processor of their data, because the workflows, credentials and execution history they create run on infrastructure you operate. GDPR Article 28(3) requires a written processor contract that binds you to process personal data only on documented instructions, including on transfers, and Article 32 requires you to take the security measures appropriate to that processing. Before your first customer asks, confirm which entity signs the processor terms, where execution data and encrypted credentials are stored, and which sub-processors touch them. The n8n license terms govern your use of the software, not your obligations to your customers, so those questions sit with your own legal and security team.

Security questionnaires will usually ask for a SOC 2 report. Know the difference before you answer. A SOC 2 Type 1 report describes your system and the suitability of your control design as of a date, while a SOC 2 Type 2 report adds an opinion on whether those controls operated effectively over a period. SOC 2 reports are generally restricted use, so you typically share them under a non-disclosure agreement rather than publishing them. If you have no report yet, ask your auditor which examination fits your timeline and whether the embedded n8n component falls inside the system description. DeployOpen can prepare the evidence, configuration baselines and control documentation an examination will test, but it does not issue reports or attestations; an independent auditor does.

Customers in regulated sectors will also ask how they can leave. The EU Data Act, Regulation (EU) 2023/2854, has applied since 12 September 2025 and requires data processing service providers to let customers switch to another provider or to on-premises infrastructure, with a maximum two-month notice period and a 30-day transitional period. From 12 January 2027, switching charges may not be imposed at all. Plan a documented export path for workflows, credentials and execution data, and confirm with counsel whether your embedded offering counts as a data processing service under the Act. Decide this before the embedded editor goes live, because it shapes how you store and export customer data.

Limits to confirm before committing to embedding

Embedding the n8n editor in a product depends on several settings that are easy to assume and costly to reverse. The cards below cover the feature status, instance-wide behavior, licensing terms, high availability tier, release tracking and the EU product rules that can apply once embedded software ships in your product.

Token exchange is an Enterprise Preview

Iframe SSO and delegated API access for embedding partners rely on token exchange, which is enabled with an Enterprise Preview flag rather than offered as a standard production feature. Confirm with n8n whether the preview is covered for your use, what support applies to it, and how its behavior may change before it becomes generally available. Plan a fallback sign-in path in case the preview setting changes between releases.

Enabling variable
N8N_ENV_FEAT_TOKEN_EXCHANGE
Token exchange docs

Canvas-only mode applies instance-wide

Canvas-only mode, set with N8N_CANVAS_ONLY, hides navigation, the command bar and some shortcuts across the whole instance, not for one embedded user group. If your internal staff also sign in to the same instance, they will see the reduced interface too. Decide whether you need a separate instance for internal administrators, and test every screen your customers can reach before release.

Canvas-only docs

OEM terms and branding are set by n8n

Whether you may ship the editor under your own brand, and on what terms, is decided in an agreement with n8n rather than by configuration on your side. The Sustainable Use License does not by itself grant customer-facing redistribution, so ask n8n in writing what the OEM agreement covers, including branding, sublicensing, support responsibilities and termination. Do not describe your product as n8n-based to customers until those terms are signed.

Multi-main high availability is Enterprise only

Running several main instances for high availability is restricted to Enterprise self-hosted deployments, so it is not available in the Community edition or n8n Cloud. An embedded product with uptime commitments to customers must therefore confirm the Enterprise tier before the architecture is designed around it. Ask for the written quote scope, including support terms, before committing to a failover design.

Version compatibility across releases

n8n uses semantic versioning and ships minor releases roughly weekly, and n8n 2.43 was released on 6 October 2026. Your embedding code, canvas-only settings and token exchange integration can break between minor versions, so pin a tested version, track the release notes and schedule regression tests before each upgrade. Ask n8n how long a given release line receives fixes.

n8n release notes

Cyber Resilience Act duties for embedded software

Once n8n is embedded, your product is a product with digital elements that you place on the EU market, so the Cyber Resilience Act can apply to your product, and its reporting duties under Article 14 have applied since 11 September 2026 for in-scope products. Most products follow self-assessment under module A, but a notified body may be needed for important or critical classes. Involve counsel early to confirm your product class and the evidence you must keep.

Full application date
11 December 2027
CRA text

Questions SaaS teams ask before embedding n8n

Can our team embed n8n in our product without outside help?

Yes, a capable platform team can do it alone, but the work spans licensing, identity and testing, so the question is capacity rather than skill. Start by reading the n8n license terms with counsel, then check whether your use is covered by the Sustainable Use License or needs a separate agreement with n8n. Embedding touches canvas-only mode, iframe sign-in and, if you use it, token exchange, which is an Enterprise Preview feature. Ask whether your engineers have time to own that design, the security review and ongoing upgrades. A partner is useful when those responsibilities would otherwise fall to people already committed elsewhere.

What drives the cost of embedding n8n in a SaaS product?

Cost follows four components: the commercial agreement with n8n, identity design, testing and ongoing support. The license negotiation is paid to n8n or your counsel, and it is typically a one-time step that may recur at renewal. Identity design, iframe sign-in and any delegated API access are engineering work that scales with how many tenants, roles and products you connect. Testing covers tenant isolation, permissions and upgrades across n8n releases. Support is recurring. When you request a quote, ask which items are one-time, which recur, and what changes if your customer count or execution volume grows.

How long does an n8n embedding build take?

Duration depends mainly on scope: whether you embed the full editor or only the canvas, how many identity flows you support, and whether you need delegated API access. A backend-only integration that never shows the editor to customers is usually the smallest build. Canvas-only mode narrows the interface for the whole instance, so plan separate instances if some users need the full product. Token exchange adds identity work and depends on an Enterprise Preview feature. Ask for a written timeline tied to a fixed scope, and confirm that the agreement with n8n is complete before engineering starts, since licensing can gate the schedule.

What does our engineering team need to provide?

Your team supplies the product context and the systems that the embedding depends on. Expect to provide a named owner for the product, access to your identity provider and tenant model, and decisions on how customers map to n8n users, projects and roles. Engineers need to know your deployment platform, database and secrets setup, because queue mode shares the encryption key with worker processes. You also need test environments that mirror production and a plan for how customer data stays separated. Agree on who approves each change, since the embedded editor will need upgrades on n8n's release cadence.

Is a backend-only n8n integration enough for our product?

Often it is, if customers never need to see or edit workflows. A backend-only design runs workflows on your infrastructure and exposes results through your own interface, which avoids embedding the editor and its sign-in flow. This reduces the identity surface and the amount of editor behavior you must test. The trade-off is that customers cannot build or change automations themselves, so your product team carries that work. Decide which features customers truly need before choosing. Confirm with n8n in writing that the backend-only use is covered by your agreement.

Do we need an n8n Business or Enterprise plan to embed it?

Confirm this with n8n in writing, because the answer depends on which features you use and how you deploy. According to n8n's pricing page, SSO and LDAP are included only in the Business and Enterprise plans, and n8n SAML single sign-on is available on those plans. Token exchange is an Enterprise Preview feature enabled with N8N_ENV_FEAT_TOKEN_EXCHANGE. Multi-main high availability is restricted to Enterprise self-hosted deployments. Ask n8n which edition and license terms apply to an OEM or embedded use, and get the answer attached to the quote.

What should we ask n8n in writing before we start?

Ask for written answers on the points that change your design and budget. Request confirmation of whether your use is an OEM or embedded use, what branding you may show, and whether the agreement covers your customers and tenants. Ask which canvas-only and token exchange features you may use, whether Enterprise Preview features are supported for production, and how upgrades and deprecations will be communicated. Confirm how execution counting applies to your customers' workflows and what the term, renewal and termination conditions are. Keep the answers in your contract file, since they determine what you can build.

How DeployOpen scopes and delivers an embedded n8n build

DeployOpen approaches an embedded n8n build as a written scope first, then a build inside your own infrastructure, with the licensing, canvas-only settings and identity flow confirmed before any code is wired in. The result is a set of documented components your compliance and security teams can review, plus a defined path for ongoing support.

How we scope

  • Confirm the OEM agreement terms and branding rights with n8n before design work starts, since they determine what the embed may show.
  • Map which editor features your users need, so canvas-only mode and hidden navigation are set against a documented list.
  • Agree in writing whether iframe SSO, delegated API access or a backend-only design fits each user journey.

How we build

  • Deploy the n8n instance in your cloud account, data center or restricted network with the database and proxy settings your environment requires.
  • Configure canvas-only mode and, where the Enterprise Preview is in scope, token exchange, then test each identity path against your identity provider.
  • Test the embed for access control, credential handling and outbound requests before your users receive it.

How we hand over

  • Deliver architecture notes, configuration records, identity flow diagrams and test results that your engineers can maintain.
  • Document which parts of the build rely on licensed features, so your procurement and legal teams can check them against the agreement.
  • Walk your platform and security teams through the runbook, including upgrade steps and the checks to repeat after each n8n release.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the fixed-scope build is complete.
  • Retest the embedded configuration after each n8n upgrade, since editor behavior and token settings can change between releases.
  • Ask for a quote based on the written scope. Confirm with n8n which terms, support levels and license options apply to your case.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.