# Step 10: Set up integration between Salesforce and Digital River

## Create a connected app for integration between Salesforce and Digital River

To create a connected app for integration between Salesforce and Digital River:

1. Go to **Setup** ![](https://content.gitbook.com/content/cMse5dnAKvo2qT6VvSWW/blobs/aeI0ClHyFb25UTqYoABP/image.png), enter **App Manager** in the **Search** field, and then select **App Manager**.
2. Click **New Connected App**.
3. Enter the Connected App Name **Salesforce DigitalRiver Integration** and your email address.
4. Select **Enable OAuth Settings**.
5. Enter **https\://** as the Callback URL.
6. In **OAuth Scopes**, add **Manage user data via APIs (api)**.
7. Ensure the checkbox labeled **Require Secret for Web Server Flow** is selected.
8. Click **Save**.

## Create a profile to assign it to an integration user

To create a profile and its assignment to an Integration User:

1. Create a new profile **Digital River Integration User** by cloning the **Standard User** profile.
2. Set the password policy of this profile to **never expire**.
3. Create an **Integration User** and assign the user to the profile.
4. Add the user to the permission set named **DigitalRiver Connector - 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-2.0/integrate-the-salesforce-lightning-app/step-10-set-up-integration-between-salesforce-and-digital-river.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.
