> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/adobe-commerce-extension/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/adobe-commerce-extension/adobe-commerce-extension-3.1.3/install-the-magento-extension.md).

# Install the Digital River Extension

## Install using Composer

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

1. Run the appropriate Composer commands in the root of Magento:
   * For Magento Open Source only, run the following Composer command: \ <mark style="background-color:yellow;">`composer require digitalriver/module-drpay:3.1.3`</mark>
   * For Adobe Commerce only, run the following Composer commands:\ <mark style="background-color:yellow;">`composer require digitalriver/module-drpay:3.1.3`</mark>\
     `composer require digitalriver/module-drpay-commerce:3.1.5`
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.
