# Setting up Recharge as your agnoStack Payment Provider

Connect Recharge to agnoStack in Zendesk: create an API token in the Recharge admin with the right permission scopes, then enter its API key in the agnoStack configuration panel.

![agnoStack Payment Providers with the Recharge API Key field](https://go.agnostack.com/images/configuration/recharge/configuration-recharge-screenshot.png)

*The Recharge configuration screen in agnoStack.*

[Recharge](https://getrecharge.com/) can be connected to Zendesk as a free [Add-On Provider](https://agnostack.com/faqs/setup-onboarding/choose-optional-add-ons#add-on-providers) using the agnoStack plugin.

Recharge is one of the leading **Subscription Payment** solutions, providing an easy way to launch and scale a subscription business. Recharge's [Getting started guide](https://support.getrecharge.com/hc/en-us/articles/360056632214-Getting-started-with-Recharge) gives a high-level overview of Recharge, its core features and migration resources.

Learn more about growing revenue through subscriptions in our guide to [Optimize eCommerce Subscription Models](https://agnostack.com/optimizing-ecommerce-subscription-zendesk-recharge), and see how to [Streamline Subscription Management](https://agnostack.com/streamlining-subscription-management-recharge-zendesk) with our agnoStack Recharge integration.

To connect Recharge, you'll need one value: a Recharge **API key**. Follow the steps below to create one.

## API Tokens in Recharge

1. Visit your [Recharge admin portal](https://admin.rechargeapps.com/admin/login), log in and select your storefront.
2. In the left-hand navigation menu, click **Apps → API Tokens**.

   ![Recharge admin API tokens page](https://go.agnostack.com/images/configuration/recharge/features-recharge-api-tokens.png)

   *API tokens in the Recharge admin.*

## API Token and API Key

1. On the **Create an API token** page, give your **Token nickname** a meaningful name. It can be anything you wish.
2. Enter an email address associated with your Recharge account.

   ![Recharge Create an API token page with the Token nickname and email fields](https://go.agnostack.com/images/configuration/recharge/features-recharge-create-api-token.png)

   *Creating an API token in Recharge.*

3. Set the permission scopes as follows:

   | Permission | Scope |
   | --- | --- |
   | Orders | Read and Write access |
   | Discounts | Read and Write access |
   | Subscriptions | Read and Write access |
   | Payments | Read and Write access |
   | Payment Methods | Read access |
   | Customers | Read and Write access |
   | Products | Read access |
   | Store Information | Read access |
   | Async Batches | Read access |
   | Accounts | Read access |
   | Customer Notifications | Grant access |

   ![Recharge API token permission scopes](https://go.agnostack.com/images/configuration/recharge/features-recharge-permission-scopes.png)

   *Setting the API token's permission scopes.*

4. Once your API token is created, copy the **API key** listed on the API Tokens page. This is the key you'll enter in agnoStack.

   ![Recharge API Tokens page with the API key to copy](https://go.agnostack.com/images/configuration/recharge/features-recharge-api-tokens-copy.png)

   *Copying your Recharge API key.*

## Entering Your Credentials in agnoStack

In Zendesk, open the agnoStack configuration panel (via the **Manage Your Account** link or the icon in the left sidebar) and, under **Payment Providers**, enter the Recharge API key you copied above in the **API Key (Recharge)** field.

Continue through the remainder of the configuration screens and click **Activate** to save your new Add-On configuration.

If you run into any trouble or need additional assistance, please contact us any time at [support@agnostack.com](mailto:support@agnostack.com).
