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

# Connect

> Connect with the Linked Account's Chargify account.

<Note>
  Chargify is an **API Key** based integration and does not require the setup of an app.
</Note>

### Required Credentials of a Linked Account

To successfully connect with the **Chargify** integration, a Linked Account or an end-user will need to provide the following to connect:

1. API Key
2. Base URL

<Info>
  To understand how a Linked Account can get the above mentioned credentials, refer below.
</Info>

### Getting Credentials of Maxio Chargify

To acquire the required credentials and connect a Linked Account, please follow the steps mentioned below:

<img height="200" src="https://mintcdn.com/cobalt-55/YZVVpdFwo8NtLV-a/images/Chargify/chargify_config.png?fit=max&auto=format&n=YZVVpdFwo8NtLV-a&q=85&s=42faad08c99295027a6c3d8e0f2b9753" alt="Connect a Linked Account" data-path="images/Chargify/chargify_config.png" />

1. Log in to your [Chargify account](https://app.chargify.com/).
2. Click on `Select a Site` dropdown in the side menu and choose a site .

<img height="200" src="https://mintcdn.com/cobalt-55/YZVVpdFwo8NtLV-a/images/Chargify/chargify_navigation.png?fit=max&auto=format&n=YZVVpdFwo8NtLV-a&q=85&s=767b3ce88c9fe2c4b9fafcab75aa6aad" alt="Navigation in Chargify" data-path="images/Chargify/chargify_navigation.png" />

3. Copy the **Base URL** of your site now.
4. Click on `Config` in the side menu > Choose `Integrations` > Select `API Keys`.
5. Click on the `New API Key` button and copy the API key displayed.

<Info>
  Copy the API Key as it will not be shown again.
</Info>

<img height="200" src="https://mintcdn.com/cobalt-55/YZVVpdFwo8NtLV-a/images/Chargify/chargify_credentials.png?fit=max&auto=format&n=YZVVpdFwo8NtLV-a&q=85&s=a547126e9d4d7e7acb2271d850d7b8e7" alt="Getting Credentials" data-path="images/Chargify/chargify_credentials.png" />

#### Actions and triggers

In Refold, you can create orchestrations of your use-cases using Chargify actions and triggers. Following are the set of Chargify actions and triggers supported by Refold.

<Tabs>
  <Tab title="Actions">
    <AccordionGroup>
      <Accordion title="Customers">
        1. **List Customers** - List customers in Chargify.
        2. **Create Customer** - Create a customer in Chargify.
        3. **Update Customer** - Update a customer in Chargify.
        4. **Delete Customer** - Delete a customer in Chargify.
      </Accordion>

      <Accordion title="Invoices">
        5. **List Invoices** - List invoices in Chargify.
        6. **Get Invoice** - Get an invoice in Chargify.
        7. **Void Invoice** - Void an invoice in Chargify.
      </Accordion>

      <Accordion title="Subscriptions">
        8. **Create Subscription** - Create a subscription in Chargify.
        9. **Find Subscription** - Find subscription in Chargify.
        10. **Update Subscription** - Update a subscription in Chargify.
      </Accordion>

      <Accordion title="Others">
        11. **HTTP Request** - Make HTTP API calls to any Chargify documented REST APIs.
      </Accordion>
    </AccordionGroup>
  </Tab>

  <Tab title="Triggers">
    1. **Customer Created** - Triggers when a customer is created in Chargify.
    2. **Customer Updated** - Triggers when a customer is updated in Chargify.
    3. **Customer Deleted** - Triggers when a customer is deleted in Chargify.
    4. **Invoice Issued** - Triggers when an invoice is issued in Chargify.
  </Tab>
</Tabs>
