## Connection

When setting up your first workflow with Recharge, you will need to create a [connection](https://docs.getmesa.com/going-further/credentials) through MESA's Recharge connector. Enter your subdomain in the Recharge Subdomain field and click the Sign in with Recharge button to complete the process.

Once redirected, scroll until you see a blue Install button and click on it.

If you're redirected to a 'Not Found' message, it means Recharge is not installed on the Shopify store where MESA is currently set up.

The Recharge app utilizes [Recharge’s SCI API](https://developer.rechargepayments.com/2021-11/).

## Configure

### Getting Shopify Data from Recharge Actions

Recharge has its own system for identifying orders, customers, and products. To reference Shopify orders, customers, or products within a Recharge action, you must use the "external ecommerce" variables.

For example, select the "Recharge > External Order ID > Ecommerce" variable to get the Shopify data for a Recharge order.

### Orders Count

When using the Orders Count action, be sure to add a Filter step afterward to ensure the comparison conditions for the total number of orders meet your desired criteria.

The Orders Count action receives the total number of orders placed by a customer's email address.

## Technical Notes

### Parameters

- limit: Get List actions in Recharge default to a limit of 50, but the maximum limit can be set at 250 with parameters. Click [here](https://developer.rechargepayments.com/2021-11/cursor_pagination) for more information.

- sort_by: Please refer to this [table](https://developer.rechargepayments.com/2021-11/sorting) for more details.

View Recharge templates and tutorials [here](/content/apps/recharge/integrate/index.html)!
