# Integrate the Digital River components into a synchronous checkout flow

You can use one of these 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](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.0/integrate-the-salesforce-lightning-app/step-17-integrate-the-digital-river-components-into-the-checkout-flow/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 (see below).
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-2.0/integrate-the-salesforce-lightning-app/step-17-integrate-the-digital-river-components-into-the-checkout-flow/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 (see below).

Refer to the task topics to integrate the Digital River components into an asynchronous checkout flow:

* [Deploy flows using Salesforce Workbench](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.0/integrate-the-salesforce-lightning-app/step-17-integrate-the-digital-river-components-into-the-checkout-flow/integrate-the-digital-river-components-into-a-synchronous-checkout-flow/deploy-flows-using-salesforce-workbench.md)
* [Update the flow nodes in the synchronous checkout flow](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.0/integrate-the-salesforce-lightning-app/step-17-integrate-the-digital-river-components-into-the-checkout-flow/integrate-the-digital-river-components-into-a-synchronous-checkout-flow/update-the-flow-nodes-in-the-synchronous-checkout-flow.md)
* [Configure screens for a customized synchronous flow](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.0/integrate-the-salesforce-lightning-app/step-17-integrate-the-digital-river-components-into-the-checkout-flow/integrate-the-digital-river-components-into-a-synchronous-checkout-flow/configure-screens-for-a-customized-synchronous-flow.md)


---

# 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-2.0/integrate-the-salesforce-lightning-app/step-17-integrate-the-digital-river-components-into-the-checkout-flow/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.
