> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slickerhq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Recharge

> Learn how to connect Recharge to Slicker

### Prerequisites

Slicker integrates with Recharge via an API key. Creating a Recharge API key requires a Recharge user with permissions for `Admin -> API Tokens`.
By default, only the storeowners have this permission, but they can update account permissions to grant access to other users.

### Create credentials

1. Go to your Recharge merchant portal to create an API key. This is under `Tools & apps -> API Tokens`.

2. Click the `Create an API Token` button to generate a new API token for your store.
   <Frame>
     <img src="https://mintcdn.com/slicker/HZZPLdXP1aKdz94r/images/integrations/recharge_api_key_button.png?fit=max&auto=format&n=HZZPLdXP1aKdz94r&q=85&s=ba2f7a6b31ce82486106a62c43ad5e18" alt="Recharge API token creation button" width="1374" height="222" data-path="images/integrations/recharge_api_key_button.png" />
   </Frame>

3. Use the `Details` field to set a name and contact email for the token.

4. Select `Read and Write access` to set the permissions for the token.

   <Warning>If the credentials are read-only, Slicker will not be able to retry failed transactions and recover revenue. </Warning>

5. Click `Save` and copy the generated key - we will need it later.

### Create integration in Slicker

1. Go to the Slicker's [new integration page](https://app.slickerhq.com/integrations/new).
2. Select `Recharge` from the list of integrations.
3. Give the integration a name and description to help you identify it later.
4. Enter the API key you copied earlier.
5. Click the `Submit` button to create the integration.

### Troubleshooting

On integration creation, Slicker will attempt to connect to Recharge using the provided API key.
If the connection fails, you will see an error message like the one below.
Please double-check the API key, make sure it has the correct permissions, and try again.

<Frame>
  <img src="https://mintcdn.com/slicker/HZZPLdXP1aKdz94r/images/integrations/integration-failure.png?fit=max&auto=format&n=HZZPLdXP1aKdz94r&q=85&s=59f6f532473345be5919699e5de59427" alt="Failed integration creation message" width="946" height="177" data-path="images/integrations/integration-failure.png" />
</Frame>
