# Configure the shipping address subflow

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

1. Click **Setup** ![](https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2F4ZLFovJZkyfVMWtaaYha%2FSetup.png?alt=media).
2. Type `Flows` in the **Quick Find** field and click **Flows**.\
   ![](https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FJOfrXz6Q84oi9ak5Ptk4%2FQuick%20Find%20-%20Flows.png?alt=media)
3. Scroll down and click **Subflow - Shipping Address**. The Flow Builder opens in a separate tab.\
   ![](https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FKoonDoKz00lFzHZPRIZl%2FFlows%20-%20Subflow%20-%20Shipping%20Address.png?alt=media)
4. Drag the **Action** element from the left pane and drop it in the right pane. ![](https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2Fkx2ANLyxPS5WNen3cSjY%2FAction%20element.png?alt=media)\
   The New Action popup dialog appears.\
   ![](https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FyVw8WbBqV6ljLqqG9mbH%2FNew%20Action.png?alt=media)
5. Select **Type** from the **Filter By** dropdown list and click **Apex Action**.\
   ![](https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FbiPzOG7gTcj0Gn29wdXL%2FFilter%20By.png?alt=media)
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://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FACXgGr3L3lLQJhcwAFdv%2FNew%20Action%20completed%20fields.png?alt=media" 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://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FrDllVqgM74Ep4ABiIKBk%2FApex%20Action%20DR%20Clear%20Data.png?alt=media)
10. Click the link between **Start Checkout Flow** and **Shipping Address Screen** and press the **Delete** key on your keyboard.\
    ![](https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FPVs6mPnPfmbrXjCCYZLn%2FApex%20Action%20DR%20Clear%20Data%20delete%20link.png?alt=media)
11. Click the circle below **Start Checkout Flow** and drag it to **Apex Action DR Clear Data**.\
    ![](https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FT2IJAksPz8B5tfi60bYM%2FLink%20Start%20Checkout%20Flow%20to%20Apex%20Action.png?alt=media)
12. Click the circle below **Apex Action DR Clear Data** and drag it to **Shipping Address Screen**.\
    ![](https://2681600133-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFDmrn2Xgg8KN7ITpu9Nw%2Fuploads%2FQnCUzC1CWTL2xGpe44PH%2FLink%20Apex%20Action%20DR%20Clear%20Data%20to%20Screen%20Shipping%20Address%20Screen.png?alt=media)
