# Integrate the Salesforce Lightning app

Familiarity with Salesforce will help when integrating the Salesforce Lightning app with Salesforce.

Salesforce has several sandboxes. When you integrate the Salesforce Lightning app, complete the instructions provided below for each Salesforce org (production, sandbox, UAT (user acceptance testing), or FULL), and each Digital River site within a Salesforce org. Link your developer sandbox to one Digital River site.

Integrate the Salesforce Lightning app using these steps:

* [Step 1: Install the Digital River app](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-1-install-the-digital-river-app)
* [Step 2: Configure the Digital River app](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-2-configure-the-digital-river-app)
* [Step 3: Register external services](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-3-register-external-services)
* [Step 4: Configure DCM logs](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-4-configure-dcm-logs)
* [Step 5: Add custom fields to the page layouts](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-5-add-custom-fields-to-the-page-layouts)
* [Step 6: Enable email delivery](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-6-enable-email-deliverability)
* [Step 7: Import ECCN codes, tax groups, and tax types](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-7-import-eccn-codes-tax-groups-and-tax-types)
* [Step 8: Configure and synchronize the products](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-8-configure-and-synchronize-the-products)
* [Step 9: Schedule backend jobs](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-9-schedule-backend-jobs)
* [Step 10: Set up integration between Salesforce and Digital River](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-10-set-up-integration-between-salesforce-and-digital-river)
* [Step 11: Set up webhooks](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-11-set-up-webhooks)
* [Step 12: Configure landed cost](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-12-configure-landed-cost)
* [Step 13: Manage permission sets](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-13-manage-permission-sets)
* [Step 14: Configure shipping integration](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-14-configure-shipping-integration)
* [Step 15: Integrate the Digital River components into the checkout flow](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-17-integrate-the-digital-river-components-into-the-checkout-flow)
* [Step 16: Test the Salesforce Lightning app integration](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-1.1/integrate-the-salesforce-lightning-app/step-18-test-the-salesforce-lightning-app-integration)


---

# 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.1/integrate-the-salesforce-lightning-app.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.
