> ## 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 Customer.io account.

<Note>
  Customer.io 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 **Customer.io** integration, a Linked Account or an end-user will need to provide the following to connect:

1. API Key
2. Site ID

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

### Getting Credentials of Customer.io

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/qu02QklkWCst59D2/images/Customer/customer_config.png?fit=max&auto=format&n=qu02QklkWCst59D2&q=85&s=af6504ef83deed70f45f26ea39562f72" alt="Connect a Linked Account" data-path="images/Customer/customer_config.png" />

1. Log in to your [Customer.io account](https://fly.customer.io/).
2. Click on the **Gear** icon in the top nav bar and click on `Account Settings` option.

<img height="200" src="https://mintcdn.com/cobalt-55/qu02QklkWCst59D2/images/Customer/customer_navigation.png?fit=max&auto=format&n=qu02QklkWCst59D2&q=85&s=3c14f93784f7f21e1fa648cd40138076" alt="Navigation in Customer.io" data-path="images/Customer/customer_navigation.png" />

3. Select `API Credentials` option > Click on `Create Track API Key` > Provide a `Name` and select a `Workspace` > Click on `Create Track API Key` button.
4. Copy the `Site ID` and `API Key` displayed.

<img height="200" src="https://mintcdn.com/cobalt-55/qu02QklkWCst59D2/images/Customer/customer_credentials.png?fit=max&auto=format&n=qu02QklkWCst59D2&q=85&s=990edf1a056103fee82ff6a93534e485" alt="Getting Credentials" data-path="images/Customer/customer_credentials.png" />

#### Actions and triggers

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

<Tabs>
  <Tab title="Actions">
    <AccordionGroup>
      <Accordion title="Customer">
        1. **Create Or Update Customer** - Create or update customer in Customer.io.
      </Accordion>

      <Accordion title="Customer Event">
        2. **Track Customer Event** - Track a customer event in Customer.io.
      </Accordion>

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

  <Tab title="Triggers">
    There are no triggers in this application.
  </Tab>
</Tabs>
