> ## Documentation Index
> Fetch the complete documentation index at: https://docs.junction.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Embed Junction Dashboard experiences into your application or launch the dashboard in a separate browser context.

<Card horizontal icon="person-digging" color="#57164A">
  Interested in this feature? Get in touch with your Customer Success Manager.
</Card>

Junction Connect enables you to integrate the Junction Dashboard provider experience seamlessly into your existing web application.
This serves as an alternative to building your own provider experience on top of the [Lab Testing API](/lab/overview/introduction).

## Modalities

Junction supports two Junction Connect modalities:

<Card title="Link Out" icon="link">
  Opens Junction Dashboard in a top-level browser context, such as a new tab or popup window.
  <Info>You want the provider to leave your app context and use the full Junction Dashboard.</Info>
</Card>

<Card title="Feature Embed" icon="frame">
  Embed a specific Junction Dashboard feature as an iframe into your web application.
  <Info>You want your web application to own navigation and page structure while the iframe stays focused on one Junction workflow.</Info>
</Card>

## Environments

Junction Connect supports launching a team into the sandbox environment or the production environment. The sandbox environment is
isolated from the production environment, and provides you access to [additional testing facilities](/lab/overview/sandbox), such as
creating test orders as well as order life cycle simulation.

<Info>
  Specify your target environment through the request `environment` field in the [Create Dashboard URL](/api-reference/org-management/connect/create-dashboard-url) endpoint.
</Info>

For example, you can create test orders in Junction Dashboard and test the embedded order detail experience throughout the order lifecycle:

1. Create a Dashboard URL with `environment` set to `sandbox` and `feature` set to `order_creation`.
2. Open the URL and create a test order in Junction Dashboard.
3. As the order moves through its lifecycle, create a new sandbox Dashboard URL with `feature` set to `order:{id}`.
4. Load each returned URL in your embed to test the order detail experience at the relevant lifecycle state.

## Features

Junction Connect supports the following features:

| Feature slug               | Feature                                      |
| -------------------------- | -------------------------------------------- |
| `order_creation`           | Order creation                               |
| `order_creation:{user_id}` | Order creation for a specific patient (user) |
| `order:{id}`               | Order detail                                 |
| `team_panels`              | Panel management                             |
| `team_config`              | Team configuration                           |

While you must specify a feature to launch for both the *Link Out* and *Feature Embed* modalities, they have different behaviors:

| Modality      | Behavior                                                                                                                                                   |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Link Out      | The feature controls where the Junction Dashboard lands initially. The provider can navigate away afterward and use other parts of the Junction Dashboard. |
| Feature Embed | The iframe is locked to the feature you requested.                                                                                                         |
