# Configure the shipping address subflow

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

1. Click **Setup** ![](https://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2FMwqYw1aW1UjODTYqJwus%2FSetup.png?alt=media).
2. Type `Flows` in the **Quick Find** field and click **Flows**.\
   ![](https://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2F50xW6WIukDrLu3qz0lu2%2FQuick%20Find%20-%20Flows.png?alt=media)
3. Scroll down and click **Subflow - Shipping Address**. The Flow Builder opens in a separate tab.\
   ![](https://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2FpGtnVfFc4Q16j4N4sfyN%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://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2Fcy7qBlEQhPoxnHROACSQ%2FAction%20element.png?alt=media)\
   The New Action popup dialog appears.\
   ![](https://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2FtzNInjsPwGtpkdmCA7ZC%2FNew%20Action.png?alt=media)
5. Select **Type** from the **Filter By** dropdown list and click **Apex Action**.\
   ![](https://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2FHqVaUlSE8HbSfOAtX5Ve%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://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2FfgEJVx4AmkyrnEcZmltr%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://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2FyU4GO0yeVYF25rhSKag9%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://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2FJglpFjv6vsMj9nMl9da2%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://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2FEjrp9QFUwupiLLfb30TR%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://1044208989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjwKVLTiUd88vZhWNHQ4o%2Fuploads%2FsFMksJEZo1KHJ0Nu42Yg%2FLink%20Apex%20Action%20DR%20Clear%20Data%20to%20Screen%20Shipping%20Address%20Screen.png?alt=media)
