# Step 18 (alternative): Integrate the Digital River components into a synchronous checkout flow

{% hint style="info" %}
As a prerequisite to completing this step, deploy the Salesforce-provided [synchronous checkout flow](https://github.com/forcedotcom/b2b-commerce-on-lightning-quickstart/tree/master/examples/checkout-main) (also referred to as the "Main checkout flow") and any dependencies to ensure you can place an order.
{% endhint %}

You can use one of the following two options when using the synchronous checkout flow:

1. Deploy the OOTB synchronous checkout flow with the Digital River components already integrated. Consult your Digital River project manager for a package that deploys the prebuilt workflow using Salesforce workbench. If you use this option, perform the tasks in the [Deploy flows using Salesforce Workbench](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.6/integrate-the-salesforce-lightning-app/step-18-alternative-integrate-the-digital-river-components-into-a-synchronous-checkout-flow/deploy-flows-using-salesforce-workbench) topic and skip the remaining tasks in this step.
2. Integrate the Digital River components into your customized synchronous checkout flow. If you use this option, first deploy the sub-flow dependencies following the tasks in the [Deploy flows using Salesforce Workbench](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.6/integrate-the-salesforce-lightning-app/step-18-alternative-integrate-the-digital-river-components-into-a-synchronous-checkout-flow/deploy-flows-using-salesforce-workbench) topic. When finished, proceed with the remaining tasks in this step.
