> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/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/commerce-api/payments/payments-solutions/digitalriver.js.md).

# DigitalRiver.js with Elements

Learn about DigitalRiver.js with Elements.

You can use DigitalRiver.js with Elements to create custom payment flows that power your checkout experience. The [DigitalRiver.js library](/commerce-api/resources/reference.md) allows you to capture sensitive customer data in a PCI-compliant manner, which is then returned to your service for interaction with the [cart ](/commerce-api/shopper-apis/cart/creating-or-updating-a-cart.md)in the [Commerce API](https://docs.digitalriver.com/commerce-api-references/).

## Getting started

Follow the instructions in the [Elements integration guide](/commerce-api/payments/payments-solutions/digitalriver.js/quick-start.md) and the [Configuring payment methods](/commerce-api/payments/payments-solutions/digitalriver.js/payment-methods.md) page to learn how to integrate [our supported payment methods](/commerce-api/payments/supported-payment-methods.md) into your app or website. You can also consult the [DigitalRiver.js reference](/commerce-api/resources/reference.md) to learn more about our various [elements](https://docs.digitalriver.com/commerce-api-references/commerce-api-reference-guide/api-structure/elements).
