# Recharge

{% hint style="info" %}
The Recharge plugin allows CheckoutChamp to pull subscription details from your Recharge account and apply them in your CheckoutChamp campaign. This saves you the time of manually configuring your subscription billing cycles within CheckoutChamp.
{% endhint %}

{% hint style="info" %}
Please reach out to Recharge to enable access to their API Token section prior to starting this. Direct link to contact can be found [here](https://support.rechargepayments.com/hc/en-us/requests/new)
{% endhint %}

### Step 1: Obtain Recharge API Credentials <a href="#recharge-step1-obtainrechargeapicredentials" id="recharge-step1-obtainrechargeapicredentials"></a>

#### Login to Recharge. Click the “Integrations” Tab and then click “API Tokens…” to uncover your Recharge API Key <a href="#recharge-logintorecharge.clickthe-integrations-tabandthenclick-apitokens...-touncoveryourrechargeapi" id="recharge-logintorecharge.clickthe-integrations-tabandthenclick-apitokens...-touncoveryourrechargeapi"></a>

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FMWAganlQ1AnOVcxvELSq%2Fimage.png?alt=media&#x26;token=772960ef-a46c-47d8-9669-7bb90cc73b9b" alt=""><figcaption></figcaption></figure>

#### Copy your API token if it is displayed on this screen. If it is not displayed click “Create an API Token” and copy the key that is returned to the page. <a href="#recharge-copyyourapitokenifitisdisplayedonthisscreen.ifitisnotdisplayedclick-createanapitoken-andcop" id="recharge-copyyourapitokenifitisdisplayedonthisscreen.ifitisnotdisplayedclick-createanapitoken-andcop"></a>

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FvUfEvhytfetMFA0VBc7M%2Fimage.png?alt=media&#x26;token=86d59c9f-43c7-4988-b094-90e5eb77414d" alt=""><figcaption></figcaption></figure>

\
SPECIFY READ/WRITE ACCESS FOR ALL PERMISSION FIELDS

#### **Be sure to save/copy the API key as this it is required for the Plugin setup.** <a href="#recharge-besuretosave-copytheapikeyasthisitisrequiredforthepluginsetup" id="recharge-besuretosave-copytheapikeyasthisitisrequiredforthepluginsetup"></a>

### Step 2: Setup the CRM Plugin <a href="#recharge-step2-setupthecrmplugin" id="recharge-step2-setupthecrmplugin"></a>

#### Navigate to **Admin** → **Plugins** → **Data Sources** and click on the green “**+Activate**” button on the Recharge tile <a href="#recharge-navigatetoadmin-plugins-datasourcesandclickonthegreen-activate-buttonontherechargetile" id="recharge-navigatetoadmin-plugins-datasourcesandclickonthegreen-activate-buttonontherechargetile"></a>

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FT0jbTyd2C7bM4txKwFVu%2Fimage.png?alt=media&#x26;token=3a6f7550-6bbe-4f56-8b32-29576690a91e" alt=""><figcaption></figcaption></figure>

#### **Shopify StoreURL-** The Shopify StoreURL associated with this Recharge account (this must match your Shopify plugin StoreURL). <a href="#recharge-shopifystoreurl-theshopifystoreurlassociatedwiththisrechargeaccount-thismustmatchyourshopif" id="recharge-shopifystoreurl-theshopifystoreurlassociatedwiththisrechargeaccount-thismustmatchyourshopif"></a>

#### **RechargeAPIToken-** The Recharge API token retrieved from the previous step. <a href="#recharge-rechargeapitoken-therechargeapitokenretrievedfromthepreviousstep" id="recharge-rechargeapitoken-therechargeapitokenretrievedfromthepreviousstep"></a>

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FWhxphxG9KcYhjfNxwhLn%2Fimage.png?alt=media&#x26;token=89b33ee2-0d54-4736-acce-5d9c4588b528" alt=""><figcaption></figcaption></figure>

#### Once the plugin is activated navigate to the Shopify plugin that is associated with this plugin and click “Sync Products”. <a href="#recharge-oncethepluginisactivatednavigatetotheshopifypluginthatisassociatedwiththispluginandclick-sy" id="recharge-oncethepluginisactivatednavigatetotheshopifypluginthatisassociatedwiththispluginandclick-sy"></a>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.checkoutchamp.com/crm/plugins/data-sources/recharge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
