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.

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.
| Item | What it is |
|---|---|
| Result | A Bubble user completes ID document, liveness and face match in Didit's hosted flow, and your app reads the verified decision |
| Install route | We 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 price | Full 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 cost | Estimate any Bubble costs separately using your Bubble plan and usage |
| Sandbox test goal | Create a session, redirect a test user, and update the stored session only after a verified status check |
| Setup on the Didit side | An 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.
- Open Verifications in the Console and click + Create Verification.
- Select the
workflow_idyou want, optionally entervendor_datawith the Bubble user's unique ID, and generate a unique URL and QR code. - Send the link or have the person scan the QR code. We host the document capture, liveness and face match screens.
- 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
| Requirement | What you need | Where it lives |
|---|---|---|
| Didit plan | The 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 plan | Pricing |
| Didit account | An organization in the Business Console | business.didit.me |
| Didit client and key | A sandbox application API key first, then the live key when you go live | Business Console application settings |
| Workflow | A published KYC workflow and its workflow_id | Console, Workflows |
| Bubble app | An app where you can install the API Connector plugin and enable backend workflows | Bubble editor, Plugins and Settings, API |
| Bubble permissions | Editor rights on the app, so you can add plugin calls and backend workflows | Bubble app collaborators |
Six steps to add KYC to Bubble
Step 1: Create your Didit account and a KYC workflow
- 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.
- Open Workflows in the sidebar and click New workflow. Choose Verifying users, then Start from a template and pick the KYC template.
- 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.
- 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.

Step 2: Add the session call in the Bubble API Connector
- In the Bubble editor open the Plugins tab, install API Connector, then click Add a new API and name it Didit.
- Add a shared header
x-api-keywith your Didit key and mark it Private so the value stays server side. Add a second header,Content-Type, with the valueapplication/json. - Click Add another call, name it
create session, set the method to POST and the URL tohttps://verification.didit.me/v3/session/. Set the body type to JSON. - Configure
vendor_dataas a dynamic API Connector parameter and initialize it with a sandbox sample. If the workflow ID varies, parameterizeworkflow_idtoo. Use this body and replace the placeholders:
{
"workflow_id": "WORKFLOW_ID",
"vendor_data": "BUBBLE_USER_ID",
"callback": "https://yourapp.com/kyc/return"
}
- Initialize the call with a real
workflow_idand the sandbox sample. A successful response containingsession_idandurlconfirms that the call works. Bubble saves that sample so you can map fields in the editor. - Set the call to Use as Action, so it appears under Plugins in the workflow editor. Then bind
vendor_datato 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
- Open the workflow behind your signup or login button and add a step Plugins then Didit - create session.
- If you configured
workflow_idas a dynamic input, bind it to the value you copied; otherwise leave the fixed workflow ID in the connector. Bindvendor_datato the Current User's unique id, the same id you already store, so the stored session can be matched to the person later. - Save the returned
session_idon a Verification thing tied to the User before you navigate anywhere. You will match on that stored session when the decision arrives. - Add a step reading the result's
urland use Navigation then Open an external website with that value. - Treat
verificationSessionIdandstatusin 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.

Step 4: Register a receiver for signed webhooks
- For push updates, use an HTTPS POST receiver that can read the request body and verify
X-Signature-V2with the destination secret and checkX-Timestampbefore 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. - Copy that receiver's HTTPS URL. You register it as a Didit webhook destination in the next step.
- 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.
| Status | What it means | Bubble access outcome |
|---|---|---|
Not Started | Session created, the person has not opened the link | No access. Send a reminder if needed |
In Progress | The person is inside the flow | No access while checks run |
Approved | All checks passed | Grant access |
Declined | One or more checks failed | Block access and offer a support path |
In Review | Warnings need a human reviewer | Hold access. A reviewer decides in the Console |
Resubmitted | The user was asked to redo specific steps | Hold access until the current session returns to Approved |
Expired | The session timed out before the user opened the link | No access. Create a new session if needed |
Abandoned | The user started but did not finish in time | No access. Any completed checks can still be billed |
Kyc Expired | A previously approved document passed its expiry date | Revoke 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
| Didit field | Comes from | Bubble field |
|---|---|---|
session_id | Create session response | Verification's session id, text. Store it before redirect |
vendor_data | Your stable user ID, returned in the create-session response and session webhook | User's unique id, text. Must match the stored user |
status | Decision endpoint, after a signed event | User's kyc_status option set, applied after the lookup confirms the session still governs access |
event_id | Signed webhook envelope | Process idempotently. Do not use a single stored dedupe key |
decision | Optional object included for Approved, Declined, In Review and Abandoned | Do not use as the access gate. Authorized reviewers read details in the Didit Console or through GET decision |
verificationSessionId and status | Appended to your callback URL | Page 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.
| Event | Fires when | What to do in Bubble |
|---|---|---|
status.updated | A session status changed | Fetch the current decision after the signed event and confirm the session still governs access before applying the returned status |
data.updated | Verification data was edited | After verification, refresh the status if needed. Do not copy detailed decision fields |
user.status.updated | An entity moved to ACTIVE, FLAGGED or BLOCKED | Optional. Mirror the flag after verification |
user.data.updated | Entity profile or aggregate data changed | Optional. 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.
| Test | Expected Didit status | Expected Bubble access outcome |
|---|---|---|
| Approved scenario | Approved | After 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 scenario | In Review | Hold access. A reviewer decides in the Console |
| Declined scenario | Declined | Block access and show a support path |
| Repeated signed webhook delivery | Same status repeated | No duplicate update. The signed route is idempotent on event_id |
| Symptom | Likely cause | Fix |
|---|---|---|
| 403 with 'You do not have permission to perform this action.' on verification.didit.me | No API key on the request | Add the x-api-key shared header and make sure it is sent on the call |
| 401 on the session call | Wrong, revoked or expired key | Copy the key again from the Console and re-initialize the call |
400 on workflow_id | Invalid workflow ID | Copy 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 list | Use an allowed origin including its scheme, host and port, or omit callback and use an allowed workflow default |
| No webhook arrives in Bubble | The delivery URL is wrong, or the receiver did not answer | Check the destination URL and the delivery log, then resend from the log |
| Webhook retried twice and then dropped | Handler slower than 5 seconds, or it answered 5xx or 404 | Verify 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 updates | No idempotency | Signed 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 status | The webhook did not arrive, or its session_id did not match the user's stored session | Check 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
| Line | Price | Growth, 4% off | Scale, 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 server | Free | Free | Free |
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
- Didit docs: Quick Start
- Didit docs: Create Session API
- Didit docs: Webhooks, HMAC signing and event types
- Didit docs: Verification statuses
- Didit docs: Web SDK overview, iframe permissions
- Didit docs: Verification links
- Didit docs: Pricing and billing rules
- Didit pricing page and pricing as JSON, read November 26, 2026
- Didit MCP server setup
- Didit integration prompt
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.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

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.
Your obligations · 3 regions
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.
- 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.
Didit Academy


