# Configure the shipping address subflow

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

1. Click **Setup** ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/BcJ2YbwBnYvUoes4Bu0e/Setup.png).
2. Type `Flows` in the **Quick Find** field and click **Flows**.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/tHHVcKxkYEiShvYjy7DO/Quick%20Find%20-%20Flows.png)
3. Scroll down and click **Subflow - Shipping Address**. The Flow Builder opens in a separate tab.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/ghBCtURMCc45YOv21PCm/Flows%20-%20Subflow%20-%20Shipping%20Address.png)
4. Drag the **Action** element from the left pane and drop it in the right pane. ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/lz9BoDtKjTWSsyXFKM2Y/Action%20element.png)\
   The New Action popup dialog appears.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/Gm8PZpTL4mjsQHxMShSE/New%20Action.png)
5. Select **Type** from the **Filter By** dropdown list and click **Apex Action**.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/tjwRkiapf49VDCAM7eN6/Filter%20By.png)
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="https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/VoNTdNkhm9Zmy2uiJFB3/New%20Action%20completed%20fields.png" 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.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/9xGFuN70IFvycGYGk0Ae/Apex%20Action%20DR%20Clear%20Data.png)
10. Click the link between **Start Checkout Flow** and **Shipping Address Screen** and press the **Delete** key on your keyboard.\
    ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/hcsSeCw5TnyT4sAroAJ0/Apex%20Action%20DR%20Clear%20Data%20delete%20link.png)
11. Click the circle below **Start Checkout Flow** and drag it to **Apex Action DR Clear Data**.\
    ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/eYAdr8ShM30o7NYp7I7U/Link%20Start%20Checkout%20Flow%20to%20Apex%20Action.png)
12. Click the circle below **Apex Action DR Clear Data** and drag it to **Shipping Address Screen**.\
    ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/maeRoSVRfWhX0GKaWHtC/Link%20Apex%20Action%20DR%20Clear%20Data%20to%20Screen%20Shipping%20Address%20Screen.png)
