# 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”), as well as any dependencies, and 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 deploys the prebuilt workflow using Salesforce workbench. If you use this option, perform the tasks in the [Deploy flows using Salesforce Workbench](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.5/integrate-the-salesforce-lightning-app/step-18-alternative-integrate-the-digital-river-components-into-a-synchronous-checkout-flow/deploy-flows-using-salesforce-workbench.md) 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](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.5/integrate-the-salesforce-lightning-app/step-18-alternative-integrate-the-digital-river-components-into-a-synchronous-checkout-flow/deploy-flows-using-salesforce-workbench.md) topic. When finished, proceed with the remaining tasks in this step.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.5/integrate-the-salesforce-lightning-app/step-18-alternative-integrate-the-digital-river-components-into-a-synchronous-checkout-flow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
