> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/salesforce-lightning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.1/integrate-the-salesforce-lightning-app/step-17-integrate-the-digital-river-components-into-the-checkout-flow/integrate-the-digital-river-components-into-an-asynchronous-checkout-flow/subflow-configuration/configure-the-payment-and-billing-address-subflow/link-screen-components.md).

# Link screen components

Learn how to link screen components on a subflow.

{% hint style="info" %}
To delete an existing link, click the link line between two elements and press the **Delete** key on your keyboard.
{% endhint %}

1. Click the circle below the **paymentMethodScreen** and drag it to the **placeOrderConfirmation** screen.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/DkFioO0XttqpnKUi8bvh/paymentMethodScreen%20to%20Validate%20Checkout%20State.png)
2. Click the circle below **placeOrderConfirmation** custom screen) and drag it to the **Validate Checkout State** subflow.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/8v6x7C3ApE8i9WDaQG6t/placeOrdersConfirmation%20to%20Validate%20Checkout%20State.png)
3. Click the circle below the **Which payment type is selected** decision element and drag it to the **Assign PO to null** when the payment type is Digital River.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/dOghdwEKpy6VjOITSf8u/Which%20payment%20type%20to%20Assign%20PO%20to%20null.png)
4. Click the circle below the **Update Address if change**d decision element and drag it to the Set **State** subflow.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/o4fnBdb551XIDHTvQzYs/Update%20address%20if%20changed%20to%20Set%20States.png)
5. Click **Save as** and enter a name for the custom subflow (for example, `DR payments`).
6. Click **Activate**.
