# Install the Digital River Extension

## Install using Composer

Use [Composer ](https://getcomposer.org/)to install the Digital River Extension for Magento.

1. Run the following Composer command in the root of Magento:\
   `composer require digitalriver/module-drpay`
2. Update Magento to run the install and update scripts in the command line in the root of Magento by issuing the following command:\
   `bin/magento setup:upgrade`
3. Flush the Magento cache by running the following command: \
   `bin/magento cache:flush`
4. Sign in to Magento.

{% hint style="info" %}
To view our listing on the Magento Marketplace click [here](https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmarketplace.magento.com%2Fdigitalriver-module-drpay.html\&data=04%7C01%7Cgjames%40digitalriver.com%7C6f76aab5c6954e5c310408d9836eb673%7Cc183d0798e92436b9045b793f607fd04%7C0%7C0%7C637685333799671216%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000\&sdata=qOsgjEVJ34LnkTfAg2stkRvGA%2BB1AO9Up9y%2B%2FfEo2MQ%3D\&reserved=0).
{% endhint %}


---

# 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/adobe-commerce-extension/2.2.0/install-the-magento-extension.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.
