# Configure the shipping address subflow

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

1. Click **Setup** ![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FdQxNRj5hbD0BbkHFBIfP%2FSetup.png?alt=media).
2. Type `Flows` in the **Quick Find** field and click **Flows**.\
   ![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2F4jBEEsrjQ3NaiiY6JtZL%2FQuick%20Find%20-%20Flows.png?alt=media)
3. Scroll down and click **Subflow - Shipping Address**. The Flow Builder opens in a separate tab.\
   ![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FDZMpxu9pK008ym75LSt4%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://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FsFcJ1qKsp55v8aUpzw1Q%2FAction%20element.png?alt=media)\
   The New Action popup dialog appears.\
   ![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FWkaUxHaRK2bI5oc3bOXO%2FNew%20Action.png?alt=media)
5. Select **Type** from the **Filter By** dropdown list and click **Apex Action**.\
   ![](https://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2F2ZlzdvRM2HM6YW2D8kfO%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://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2Fdjzoyd08Dkm4EtJvYRBE%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://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2Fkl1Broelf9sVFsu6Iyhl%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://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2FXEGJEDy2u0R14qleidLb%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://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2F9sEoufoHghm0RS9omNDW%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://4256002884-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqjgXMvJr1fV9cPhH4Ukz%2Fuploads%2F5znn7F430tHpjW6uPXyy%2FLink%20Apex%20Action%20DR%20Clear%20Data%20to%20Screen%20Shipping%20Address%20Screen.png?alt=media)
