Skip to main content

Add KYC to Bubble with Didit: Identity Verification Guide

We do not document a native Bubble connector. Create the session with one private POST call, redirect the user to the hosted URL, and gate access on the current decision. Full KYC costs $0.33 per check.

Add KYC to Bubble with Didit: Identity Verification Guide

Contents

In this guide

Jump to the part you need.

If you run onboarding in Bubble, use our hosted verification links for manual checks or connect the Didit API and webhooks to update each user's status automatically. Full KYC costs $0.33 per completed check. Automatic account approval needs a backend workflow that checks the decision with Didit.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

Adding KYC to Bubble with Didit at a glance
ItemWhat it is
ResultA Bubble user completes ID document, liveness and face match in Didit's hosted flow, and your app reads the verified decision
Install routeWe do not document a native Bubble connector. Use the Didit REST API and webhooks: one private POST create-session call, a hosted redirect, and a signed webhook. For push updates, verify the webhook signature and timestamp before using the event to trigger a decision lookup. For a Bubble-only setup, have a trusted backend workflow fetch the decision for the user's stored session
Didit priceFull KYC $0.33 per completed check. Sandbox testing is free on every plan. The Free plan includes $10 of monthly credit for the first organization created with an eligible work email for a company domain
Bubble costEstimate any Bubble costs separately using your Bubble plan and usage
Sandbox test goalCreate a session, redirect a test user, and update the stored session only after a verified status check
Setup on the Didit sideAn organization, a published KYC workflow, an API key and one webhook destination

Manual no-code route

We host the checks, return a session URL and make the decision available to Bubble. For one-off manual checks, generate a hosted link in the Didit Business Console and send it to the person yourself.

  1. Open Verifications in the Console and click + Create Verification.
  2. Select the workflow_id you want, optionally enter vendor_data with the Bubble user's unique ID, and generate a unique URL and QR code.
  3. Send the link or have the person scan the QR code. We host the document capture, liveness and face match screens.
  4. Look up the outcome in the Console when you need it.

For repeated onboarding, use the API route below so each user gets their own stored session and the webhook can update the right Bubble user.

Prerequisites

What you need before the first call
RequirementWhat you needWhere it lives
Didit planThe Free plan works. The Free plan includes $10 of monthly credit for the first organization created with an eligible work email for a company domain. Sandbox testing is free on every planPricing
Didit accountAn organization in the Business Consolebusiness.didit.me
Didit client and keyA sandbox application API key first, then the live key when you go liveBusiness Console application settings
WorkflowA published KYC workflow and its workflow_idConsole, Workflows
Bubble appAn app where you can install the API Connector plugin and enable backend workflowsBubble editor, Plugins and Settings, API
Bubble permissionsEditor rights on the app, so you can add plugin calls and backend workflowsBubble app collaborators

Six steps to add KYC to Bubble

Step 1: Create your Didit account and a KYC workflow

  1. Go to business.didit.me and sign up with SSO or email and password. Create your Organization, which is where workflows, API keys and verification activity live.
  2. Open Workflows in the sidebar and click New workflow. Choose Verifying users, then Start from a template and pick the KYC template.
  3. Review the steps. A standard KYC flow runs ID Verification, Passive Liveness and Face Match, with device and IP analysis included in the check. Add AML Screening if you need sanctions and PEP coverage.
  4. Publish the workflow and copy its workflow_id. Copy the API key for the application you will call from Bubble.

The console is where you will read results later. A session overview shows the warnings that put a person in review and the document data that was extracted.

A Didit session overview with its warnings and check results
The session overview in the Didit Business Console, where warnings that send a session to review are listed.

Step 2: Add the session call in the Bubble API Connector

  1. In the Bubble editor open the Plugins tab, install API Connector, then click Add a new API and name it Didit.
  2. Add a shared header x-api-key with your Didit key and mark it Private so the value stays server side. Add a second header, Content-Type, with the value application/json.
  3. Click Add another call, name it create session, set the method to POST and the URL to https://verification.didit.me/v3/session/. Set the body type to JSON.
  4. Configure vendor_data as a dynamic API Connector parameter and initialize it with a sandbox sample. If the workflow ID varies, parameterize workflow_id too. Use this body and replace the placeholders:
{
  "workflow_id": "WORKFLOW_ID",
  "vendor_data": "BUBBLE_USER_ID",
  "callback": "https://yourapp.com/kyc/return"
}
  1. Initialize the call with a real workflow_id and the sandbox sample. A successful response containing session_id and url confirms that the call works. Bubble saves that sample so you can map fields in the editor.
  2. Set the call to Use as Action, so it appears under Plugins in the workflow editor. Then bind vendor_data to the current user's unique ID in the Bubble workflow.

When an allowlist is configured, an HTTP or HTTPS callback must match an allowed origin, including its scheme, host and port. If you omit callback, we use the workflow default when that default is allowed.

Step 3: Send the person to the session URL

  1. Open the workflow behind your signup or login button and add a step Plugins then Didit - create session.
  2. If you configured workflow_id as a dynamic input, bind it to the value you copied; otherwise leave the fixed workflow ID in the connector. Bind vendor_data to the Current User's unique id, the same id you already store, so the stored session can be matched to the person later.
  3. Save the returned session_id on a Verification thing tied to the User before you navigate anywhere. You will match on that stored session when the decision arrives.
  4. Add a step reading the result's url and use Navigation then Open an external website with that value.
  5. Treat verificationSessionId and status in the callback query parameters as return-page display inputs. Use the verified server-side decision to grant access.

If you want to embed the flow instead of redirecting, use the Web SDK overview and follow the complete InContext iframe permission list.

The Didit hosted flow capturing an ID document with the camera
The hosted flow that opens from the session URL: document capture first, then liveness and face match.

Step 4: Register a receiver for signed webhooks

  1. For push updates, use an HTTPS POST receiver that can read the request body and verify X-Signature-V2 with the destination secret and check X-Timestamp before triggering a fresh decision lookup. Authenticate any handoff from a separate receiver to Bubble. If Bubble cannot verify signatures, have a trusted Bubble backend workflow fetch the decision for the user's stored session.
  2. Copy that receiver's HTTPS URL. You register it as a Didit webhook destination in the next step.
  3. Register the endpoint with Didit. From a terminal or any HTTP client, call:
curl -X POST https://verification.didit.me/v3/webhook/destinations/ \
  -H "x-api-key: $DIDIT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "label": "Bubble",
    "url": "https://yourapp.com/didit/webhook",
    "subscribed_events": ["status.updated", "data.updated"],
    "webhook_version": "v3"
  }'

Save the returned secret_shared_key. You can read it again with GET /v3/webhook/destinations/{destination_uuid}/. There is no wildcard in subscribed_events, so list every event family you want. The receiver must verify X-Signature-V2 and X-Timestamp before it writes any access decision.

Step 5: Handle the decision in the backend workflow

Verification comes before every write. The webhook is a trigger, not an access-control decision by itself.

For a Bubble-only route without signature verification, have a trusted backend workflow read the stored session ID for the user from the record you saved in Step 3. Call GET https://verification.didit.me/v3/session/{session_id}/decision/ with the private Didit key. Apply access changes only to the session currently used for that user's access decision, and confirm the returned decision still governs the user before you apply it. Reject unknown sessions.

For the signed route, verify X-Signature-V2 over canonical JSON with a constant-time comparison and enforce the five-minute X-Timestamp window before using the event. If a separate receiver verifies the signature, require authentication on its handoff to Bubble. When a signed event triggers an update, fetch the current decision for that session and confirm it still governs the user's access before applying the result. An event from an older session must not overwrite the current decision.

For push delivery, require a receiver that verifies X-Signature-V2 and X-Timestamp before it processes the event, and authenticate any handoff to Bubble. Do not accept an unsigned public webhook as an access trigger. If your Bubble app cannot verify the signature, have a trusted backend workflow call GET https://verification.didit.me/v3/session/{session_id}/decision/ for the user's stored session. Process event_id idempotently across deliveries, then return a 2xx response within five seconds. Use the destination delivery log to resend a failed event.

Step 6: Gate the app on exact status strings

Statuses are exact, case-sensitive strings and they include spaces. Compare with strict equality, never with a fuzzy match.

KYC status map for Bubble access decisions
StatusWhat it meansBubble access outcome
Not StartedSession created, the person has not opened the linkNo access. Send a reminder if needed
In ProgressThe person is inside the flowNo access while checks run
ApprovedAll checks passedGrant access
DeclinedOne or more checks failedBlock access and offer a support path
In ReviewWarnings need a human reviewerHold access. A reviewer decides in the Console
ResubmittedThe user was asked to redo specific stepsHold access until the current session returns to Approved
ExpiredThe session timed out before the user opened the linkNo access. Create a new session if needed
AbandonedThe user started but did not finish in timeNo access. Any completed checks can still be billed
Kyc ExpiredA previously approved document passed its expiry dateRevoke access and ask for a new document

Expired means the session timed out before the user opened the link. Kyc Expired means a previously approved document passed its expiry date. Full descriptions and transitions live in verification statuses.

Field and event mapping

Where each Didit value goes in your Bubble data types
Didit fieldComes fromBubble field
session_idCreate session responseVerification's session id, text. Store it before redirect
vendor_dataYour stable user ID, returned in the create-session response and session webhookUser's unique id, text. Must match the stored user
statusDecision endpoint, after a signed eventUser's kyc_status option set, applied after the lookup confirms the session still governs access
event_idSigned webhook envelopeProcess idempotently. Do not use a single stored dedupe key
decisionOptional object included for Approved, Declined, In Review and AbandonedDo not use as the access gate. Authorized reviewers read details in the Didit Console or through GET decision
verificationSessionId and statusAppended to your callback URLPage URL parameters for the return screen only, not for access

V3 decisions use plural arrays because a workflow can contain more than one instance of a check. Check whether id_verifications is present and iterate over the entries you need. Do not copy document numbers, face match scores or AML match details into Bubble. Keep session IDs and verified status for onboarding, and direct authorized reviewers to the Didit Console for detailed results.

Webhook events worth subscribing to in a Bubble KYC flow
EventFires whenWhat to do in Bubble
status.updatedA session status changedFetch the current decision after the signed event and confirm the session still governs access before applying the returned status
data.updatedVerification data was editedAfter verification, refresh the status if needed. Do not copy detailed decision fields
user.status.updatedAn entity moved to ACTIVE, FLAGGED or BLOCKEDOptional. Mirror the flag after verification
user.data.updatedEntity profile or aggregate data changedOptional. Refresh the stored profile after verification

Test with sandbox data

Sandbox testing is free on every plan. Keep the Bubble API Connector pointed at the sandbox key until the whole loop works, including the webhook.

To reproduce a specific outcome, list the scenario slugs with GET https://verification.didit.me/v1/sandbox/scenarios/ and pass sandbox_scenario when you create the session. We apply the scenario's bundled values to reproduce that outcome. On a live application the field is rejected with a 400.

Expected success: the session reaches Approved, and the webhook body carries status.updated with a status. Session events carry a status and may include a decision for Approved, Declined, In Review or Abandoned. Use GET /v3/session/{session_id}/decision/ to retrieve the current session decision. Your Bubble user record shows the verified status after your server-side check.

Sandbox acceptance checklist
TestExpected Didit statusExpected Bubble access outcome
Approved scenarioApprovedAfter verifying the webhook signature and timestamp, fetch the current decision. Grant access only if the session still governs the user's access and the returned status is Approved.
In Review scenarioIn ReviewHold access. A reviewer decides in the Console
Declined scenarioDeclinedBlock access and show a support path
Repeated signed webhook deliverySame status repeatedNo duplicate update. The signed route is idempotent on event_id
Common failures and the fix
SymptomLikely causeFix
403 with 'You do not have permission to perform this action.' on verification.didit.meNo API key on the requestAdd the x-api-key shared header and make sure it is sent on the call
401 on the session callWrong, revoked or expired keyCopy the key again from the Console and re-initialize the call
400 on workflow_idInvalid workflow IDCopy the UUID from the intended KYC workflow and retry
400 with 'callback must be on one of the application's allowed domains'The callback origin is not on the allowed listUse an allowed origin including its scheme, host and port, or omit callback and use an allowed workflow default
No webhook arrives in BubbleThe delivery URL is wrong, or the receiver did not answerCheck the destination URL and the delivery log, then resend from the log
Webhook retried twice and then droppedHandler slower than 5 seconds, or it answered 5xx or 404Verify and process the event idempotently, then return a 2xx response within five seconds. Use the destination delivery log to resend a failed event
Duplicate User updatesNo idempotencySigned route: process event_id idempotently across deliveries. Re-fetch route: make repeated writes of the same outcome harmless
User finished but Bubble still shows the old statusThe webhook did not arrive, or its session_id did not match the user's stored sessionCheck the destination delivery log and compare the event's session_id with the ID you saved before the redirect

Disconnecting

To stop new sessions, remove the Didit call from your Bubble workflows and clear the stored API key from the connector configuration.

What it costs on both ends

Didit list prices that apply to a Bubble KYC flow, read November 26, 2026
LinePriceGrowth, 4% offScale, 10% off
Full KYC, ID document plus passive liveness, face match and device and IP$0.33$0.3168$0.297
ID Verification alone$0.15$0.144$0.135
AML Screening$0.20$0.192$0.18
Proof of Address$0.20$0.192$0.18
Workflow Orchestrator, SDKs and MCP serverFreeFreeFree

We charge for completed checks under your plan. Growth and Scale also have a subscription fee. Estimate any Bubble costs separately using your Bubble plan and usage.

Worked example

Say 2,000 people complete a full KYC check in a month and you also screen each of them for AML at signup. These are Didit charges before tax and before any Bubble costs.

  • KYC: 2,000 x $0.33 = $660.00
  • AML: 2,000 x $0.20 = $400.00
  • Gross usage: $660.00 + $400.00 = $1,060.00

On an eligible Free organization, the $10.00 monthly credit brings that gross usage to $1,050.00 before tax. The same volume on Growth, with the 4% discount applied to both lines:

  • KYC: 2,000 x $0.3168 = $633.60
  • AML: 2,000 x $0.192 = $384.00
  • Subtotal: $633.60 + $384.00 = $1,017.60
  • Less the $115.00 monthly credit, then plus the $99.00 monthly fee: $1,001.60

The difference between $1,050.00 on Free after credit and $1,001.60 on Growth after credit and fee is $48.40 before tax and Bubble costs. If you drop AML and keep the full KYC line only, 2,000 checks are $660.00 gross before tax, $650.00 on Free after credit, or $617.60 on Growth after credit and fee. Run your own numbers with the estimator on the pricing page.

Using the Didit MCP server while you build

The Didit MCP server is free and runs at https://mcp.didit.me/mcp with OAuth sign-in. Setup for each client is on the MCP page. For the documented workflow and test-session recipe, use the integration prompt.

Sources

Start in the sandbox now: create your organization at business.didit.me, publish a KYC workflow, and run your first test session from Bubble. No sales call, and the sandbox does not bill.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

How do I add KYC to a Bubble app?

Create a Didit workflow in the Business Console, then call POST https://verification.didit.me/v3/session/ from Bubble's API Connector with your API key in a private header. Send the user to the url the call returns. For push updates, use an HTTPS POST receiver that can read the request body and verify X-Signature-V2 with the destination secret and check X-Timestamp before triggering a fresh decision lookup. Authenticate any handoff from a separate receiver to Bubble. If Bubble cannot verify signatures, have a trusted Bubble backend workflow fetch the decision for the user's stored session.

Does Didit have a native Bubble connector?

We do not document a native Bubble connector. Use the Didit REST API and webhooks to connect your app. This guide uses the API Connector, a hosted redirect, a backend workflow and an optional private decision lookup.

Can I do Bubble identity verification with no code at all?

Yes, for manual checks. Generate a hosted link in the Console and send it to the user. For signed webhooks, register an HTTPS POST receiver that can verify the signature headers with the destination secret; if signature verification is unavailable, use a trusted backend workflow to fetch the decision for the user's stored session. For repeated onboarding, the API Connector and the redirect are low-code steps inside Bubble's visual editor, and each user gets their own stored session.

How much does KYC cost on Bubble?

We charge $0.33 per completed full KYC check at list price, with a 4% discount on Growth and 10% on Scale. The Free plan includes $10 of monthly credit for the first organization created with an eligible work email for a company domain. Estimate any Bubble costs separately using your Bubble plan and usage.

Do I need a backend to verify users in Bubble?

Not a server of your own. The API Connector runs calls server side. For push updates, use an HTTPS POST receiver that can read the request body and verify X-Signature-V2 with the destination secret and check X-Timestamp before triggering a fresh decision lookup. Authenticate any handoff from a separate receiver to Bubble. If Bubble cannot verify signatures, have a trusted Bubble backend workflow fetch the decision for the user's stored session.

How does Bubble receive the verification result?

For push updates, register a receiver that verifies the webhook signature and timestamp before triggering a lookup for the user's active session. For a Bubble-only setup, have a trusted backend workflow fetch the current decision for the user's stored session. Subscribe the destination to status.updated and data.updated. Session events carry a status and may include a decision for Approved, Declined, In Review or Abandoned. Use GET /v3/session/{session_id}/decision/ to retrieve the current session decision.

Which Didit status should grant access in Bubble?

Only Approved. Treat In Review as a hold, Declined as a block with a support path, and Abandoned or Expired as an unfinished attempt you can invite back. Because the values are case-sensitive strings, compare with strict equality in your conditions.

Can I test the Bubble integration without paying?

Yes. Sandbox testing is free on every plan. To choose a scenario, list the slugs with GET https://verification.didit.me/v1/sandbox/scenarios/ and pass sandbox_scenario when you create the session.

What happens if a user abandons the flow half way?

The session moves to Abandoned after the timeout, and you get a status.updated webhook for it. Any checks that already finished with a result can still be billed. If they never open the link at all, the session goes to Expired instead.

Can I use the same Didit endpoint for KYB in Bubble?

Yes, but you need a separate KYB workflow ID. The same POST /v3/session/ endpoint creates a business session when the workflow type is KYB, and you pass company_name, registry_country and registration_number in expected_details to pre-fill the registry search. KYB starts at $2.00 per company, and linked KYC and person AML are billed separately for owners and officers.

How does Didit detect repeat signups from Bubble?

vendor_data binds sessions to a stable app user ID, and multi_account_segment controls which sessions duplicate face checks compare. Blocklist and allowlist matching ignore the segment. Bubble applies the account rule in your app.

Is there a way to migrate from another provider in Bubble?

Switching requires mapping your existing app's session creation, redirect, webhook and status logic to the documented Didit API. Use this guide's Field and event mapping section for session IDs, callback parameters and exact status values.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.