LEGACY GUIDEThis guide is for Platform API v2011101. For guidance on the newest version, see Connectivity Integration Guides.
INFOIf you’re looking for guides to implement the widget using one of our SDKs or other implementation methods, see Implementation Guides.
Configuration Quick Reference
The following table shows the Connect Widget configurations used for common tasks.INFOFor more guidance, see Configure Your Connect Widget Step-by-Step.
Configure Your Connect Widget Step-by-Step
The section walks you through configuring your widget URL request.INFOEvery step in this guide requires configuring the Request Widget URL endpoint.
1. Set the Widget Type
Thewidget_type configuration ensures the widget URL you’ll receive is for the Connect Widget.
2. Set the Language
Getting a widget in a specific language requires passing the desired language as a parameter in theAccept-Language header with requests to the Request Widget URL endpoint. Don’t use the locale parameter in the request body; the Accept-Language header is the only available option when embedding the Connect Widget by itself.
If no header is provided, the Connect Widget will default to en-US.
The following languages are supported in the Connect Widget:
en-CAen-USesfr
3. Set the Mode
Themode configuration sets which data the widget will later aggregate, sets which events we’ll detect in the widget that you could (or must) handle, and determines how you’ll set some other configurations.
The mode defaults to aggregation and can be set to verification, depending on your needs.
- If you just need the widget to aggregate account and transaction data, don’t set this configuration. It defaults to
aggregation. - If you need the widget to retrieve account numbers and routing/transit numbers, relating to Instant Account Verification (IAV), then set the
modetoverification.
More on "mode": "verification"
More on "mode": "verification"
Verification mode is used to gather account and routing numbers, which we call instant account verification (IAV). Setting the
mode to verification will change several behaviors for the Connect Widget and for associated members:- The end user will be prompted to verify an existing connection (if they have one) before going to search.
- Connect will only search for and display institutions that support IAV.
- After gathering credentials, the widget will start aggregating IAV data rather than account and transaction data.
- Because this is for IAV,
include_transactionswill be set to false, so no transaction data will be gathered. If this data is needed, you must explicitly setinclude_transactionstotrue. - Background aggregation will be disabled for members created by the Connect Widget, even if the
include_transactionsparameter is set totrue. For existing connections, the existing background aggregation setting is preserved. - For end users who search for an institution that doesn’t support IAV, the microdeposits flow begins and the end user is presented with the option to verify using microdeposits. In the microdeposit flow, no member is created on the MX platform. You must log the
microdeposit_guidin step 5 and use it to load the widget in the correct configuration when the end user returns several days later to verify their deposit amounts. Loading with the correctmicrodeposit_guidensures the widget prompts for verification amounts and perform other tasks related to microdeposit verifications.
mode is set to verification.
4. Set Other Data Configurations
In addition to having the widget aggregate account and transaction data ("mode":"aggregation") or account and routing numbers ("mode":"verification"), you can set some other configurations that also affects which data the widget will aggregate.
5. Set Mobile Configuration
If you’re integrating the widget on a desktop platform, you can skip this step. If you’re integrating the widget onto a mobile platform, you’ll want to set:"is_mobile_webview": trueclient_redirect_url
"is_mobile_webview": true the widget will:
- Send events to the WebView via
window.location = {scheme}://{event path}?metadata={json encoded metadata}instead ofwindow.postMessage(eventObject). - Set the
oauth_referral_sourcetoAPPso the OAuth flow will redirect back to a native application instead of sending a postMessage to the opening window. - Prevent the widget from automatically trying to open an OAuth window; instead it will send the OAuth requested postMessage so your app can correctly open the OAuth window in the user agent.
The following example sets
is_mobile_webview to true.
6. Set Authentication Configurations
These options are all related to authentication and how it’s handled in different situations, including how some event messages are delivered. If you’re supporting OAuth flows, you’ll want to set:client_redirect_urlorui_message_webview_url_scheme(we recommend usingclient_redirect_urlif possible)enable_app2appoauth_referral_source. This is meant for hybrid webapp integrations. For more info, see OAuth in WebViews.
The following shows an example request for an integration on a mobile app.
7. Set the Widget’s Default View
You can load the Connect Widget directly to an institution (using the institution’scode or guid) or member (using the member’s guid) to let end users complete specific tasks without manually searching for the institution.
If you’re using the widget in verification mode to prompt the end user for verification amounts and to perform other tasks related to microdeposit verifications, set the current_microdeposit_guid to load the widget. For more info, see How to Request a Microdeposit Verification.
Required steps if you set `disable_institution_search` to `true`
Required steps if you set `disable_institution_search` to `true`
If you set This may trigger during several “steps” in the Connect Widget flow:
disable_institution_search to true, you must also listen for the backToSearch event to intercept the user from navigating back to search during the flow.Don’t listen for any Primary Action postMessages when you disable search.INFOEven if you configure the Connect Widget to disable institution search, you must still listen for the postMessage. All buttons that will take a user to the search institution page are still displayed in the Connect Widget experience and your user can still select them. The postMessage will notify you that the client has taken this action so you can direct your user elsewhere.
- Connected
- MDV/Microdeposits Verified
- Login Error
- Credentials/OAuth (back button)
The following example will load the Connect Widget to a specific institution. Because in this example we’re loading to an institution directly, the request also disables the ability to search for institutions in the widget.
8. Set the Color Scheme
If you want to load the widget in dark mode, set"color_scheme": "dark". It defaults to light.
SUCCESSYou’ve configured your Connect Widget!

