1
Your Backend
Create a Junction Link Token for a user using the Create Link Token endpoint.
A Junction Link Token expires 60 minutes after its creation.
2
Your Frontend
Use the Link Token to launch the Link Widget on your frontend.

Option 1: Opening the Link Widget by URL
Option 1: Opening the Link Widget by URL
You can launch the Junction Link Widget using the Link Web URL (
link_web_url) as provided by the
Generate a Link Token endpoint:- If you have created the Link Token for a specific OAuth provider, Junction Link will dispatch the user automatically to the provider’s sign-in page.
-
Otherwise, your user will be presented with a list of providers to connect to. You can
customize the list via the
filter_on_providersparameter when creating the Link Token.
redirect_url you specified earlier
when creating the Link Token. We will also append query parameters to the redirection target
based on the Link flow outcome:For successful provider connections,
provider is the connected provider’s slug and isMobile
indicates whether Junction Link identified the final callback request as mobile. Both parameters
are encoded as strings and appear exactly once.Junction preserves existing non-empty query parameters that do not conflict with Link parameters.
If the supplied redirect_url already contains state, provider, or isMobile, the
Junction-generated value replaces it. Do not rely on query parameter ordering.Option 2: Using the useVitalLink React hook (@tryvital/vital-link)
Option 2: Using the useVitalLink React hook (@tryvital/vital-link)
Launching Junction-Link