> 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-shipping-address-subflow.md).

# Configure the shipping address subflow

Use this subflow to capture buyer information such as Bill To, Ship To, and Email.

1. Click **Setup** ![](/files/gdWiI90IBsNQrB7jE9u2).
2. Type `Flows` in the **Quick Find** field and click **Flows**.\
   ![](/files/Tz5hQH4WDZg2sDEw1y1P)
3. Scroll down and click **Subflow - Shipping Address**. The Flow Builder opens in a separate tab.\
   ![](/files/S3H3v47YUi41kmyAE6lg)
4. Drag the **Action** element from the left pane and drop it in the right pane. ![](/files/KlGitnCohtUAmc9nNgR5)\
   The New Action popup dialog appears.\
   ![](/files/2Iq02Mn1mGrxVai2VFTz)
5. Select **Type** from the **Filter By** dropdown list and click **Apex Action**.\
   ![](/files/ko2N3Ut3xxr1RwuIJ3IR)
6. In the **Search Apex actions** field, type `digitalriverv3_DRB2B_ClearData`, and click **digitalriverv3\_DRB2B\_ClearData**.
7. Toggle **cartIdList** to **Include**, and enter the following values in the fields:

   * **Label:** Type `DR Clear Data` or any other name with no restrictions.
   * **API** **Name**: Type `DR_Clear_Data`.
   * **cartIdList**: Type `{!cartId}`.

   <img src="/files/o2GWMVqbslDmayYpSw8p" alt="" data-size="original">
8. Click **Done**.
9. Drag the **Apex Action DR Clear Data** to the right of **Screen Shipping Address Screen** as shown below.\
   ![](/files/bt1q065f45j6zs2mLEkX)
10. Click the link between **Start Checkout Flow** and **Shipping Address Screen** and press the **Delete** key on your keyboard.\
    ![](/files/1LO0DMB9QTSajPJLGBcw)
11. Click the circle below **Start Checkout Flow** and drag it to **Apex Action DR Clear Data**.\
    ![](/files/IswfREysoDk91GbpwhEv)
12. Click the circle below **Apex Action DR Clear Data** and drag it to **Shipping Address Screen**.\
    ![](/files/rCcooR5ElQycLlQwDPbG)
