Interested in this feature? Get in touch with your Customer Success Manager.
Prerequisites
You need:- a Junction organization ID;
- a Junction Management Key;
- a registered Junction Connect integration with at least one enabled modality;
- an allowed origin for your web application; and
- a session continuation URL controlled by your application.
Configure your integration
Use the Set Junction Connect Configuration endpoint to set your slug, modalities, and allowed origins. See Concepts -> Configuration for details about each setting.
Create or resolve a team
Use the Create Team endpoint. Teams can include an If the team already exists, use the Resolve Team endpoint to resolve it by integration reference:
integration_team_id, which is your stable team reference.cURL
cURL
Create or resolve an integration-managed member
Use the Create Integration-Managed Member endpoint to create the member that should be signed in through Junction Connect. Include team role bindings for every team the member should access.If the member already exists, use the Resolve Integration-Managed Member endpoint to resolve it by integration reference:
cURL
cURL
(Optional) Create or resolve a user (patient)
Skip this step unless you are launching a feature that is scoped to a specific patient, such as
order_creation:{user_id}. In that case the patient must exist as a Junction user in the destination team before you create the dashboard URL — the patient-scoped feature slug embeds the Junction user_id.Use the team-scoped Junction API (see authentication and environments):- Create user — keyed by your
client_user_id. - Update user demographics — set name, date of birth, and any other fields the feature requires.
order_creation:{user_id}) as the feature value in the next step, substituting the resolved Junction user_id.Create a dashboard URL
Use the Create Dashboard URL endpoint to create a post-authorization URL for the member, team, modality, feature, and environment.
cURL
Launch the URL
Use the URL returned by the Create Dashboard URL endpoint. For For
feature_embed, load it in an iframe:link_out, open the returned URL in a top-level navigation context, such as a new tab or popup window.For faster repeated launches, use Fast Launch after you have implemented Session Continuation.