
| Integration | Use case | How Bridge gets a token |
|---|---|---|
| Embedded Orders | Income, employment, assets (multi-connection) | Order API returns bridge_token |
| Bridge Widget | Direct Deposit Switch (DDS), Paycheck Linked Lending (PLL) (single connection) | Bridge Token API returns bridge_token |
Platform support
| Platform | Package |
|---|---|
| Web | <script src="https://cdn.truv.com/bridge.js"> |
| iOS | Native SDK |
| Android | Native SDK |
| React Native | SDK package |
| Flutter | SDK package |
| Expo | SDK package |
Token exchange flow
The Bridge Widget uses a token exchange pattern to keep credentials secure. Your backend handles all secret-bearing API calls; your frontend only touches thebridge_token and public_token.
Embed Bridge in your page
Add the Bridge script and initialize it with abridge_token from your backend.
Parameters
| Parameter | Required | Description |
|---|---|---|
bridgeToken | Yes | The bridge_token value returned by Create Bridge Token. |
position | No | Display mode configuration. Default is dialog. See Set the position. |
Set the position
Theposition parameter controls how Bridge renders on the page.

Dialog (default)
Bridge opens as a centered overlay and disables page scrolling.Inline
Bridge embeds inside an existing DOM element. Use this for seamless page layouts.Inline mode requires the container element to exist in the DOM before calling
TruvBridge.init.Close Bridge programmatically
Callbridge.close() to dismiss the widget from your code.
Callbacks
| Callback | When it fires |
|---|---|
onSuccess | User successfully connected an account |
onLoad | Bridge widget finished loading |
onClose | User closed the widget |
onEvent | Any interaction event, including errors |
onEvent with type=ERROR and an ErrorData payload — there is no separate onError callback. See Bridge events for the full list of event types and payloads.
Customize the widget
Customize Bridge appearance through Customization Templates in the Dashboard: company branding, search experience, success pages, document upload settings, and privacy agreements.Next steps
Embedded Orders
Multi-connection verification (VOIE, VOA, VOE)
Bridge Widget
Single-connection flow (DDS, PLL)
Consumer Credit Demo
Bundle income, deposit switch, and PLL in one Bridge session
SDKs
Platform-specific installation guides