---
title: "Set Up Swell Integration"
slug: "set-up-swell-integration"
description: "Learn how to connect Swell to Gladly. See integration information here."
updated: 2025-01-16T19:28:01Z
published: 2025-01-30T20:01:56Z
---

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

# Set Up Swell Integration

| **REQUIRED USER ROLE** Administrator | **PERMISSION OVERVIEW** [View permissions by role](https://help.gladly.com/docs/managing-users-and-roles#roles-and-responsibilities) |
| --- | --- |

## Before you start

Review the following information before you connect Swell to Gladly.

- This is a three-part configuration process that must be done in sequential order. Contact Gladly Support to add Customer attributes, log into Swell to copy your secret key, and then connect Swell to Gladly.

## Contact Gladly Support to add customer attributes

Contact Gladly Support and ask to add the following attributes for the Swell integration.

- Credit Balance
- Total Spent
- Average Order

These attributes appear as part of the Customer details that can be used to enhance routing logic using [Rules](https://help.gladly.com/docs/create-a-rule) or [People Match](https://help.gladly.com/docs/set-up-priority-boost-scenarios-for-people-match).

![User profile showing credit balance, total spent, and average order amount.](https://cdn.us.document360.io/7047b671-c4f2-4df0-bb0a-b9b511fd2452/Images/Documentation/swell-customerattributes.png)

Once the attributes are added, proceed to find your secret key.

## Find your secret key

1. Log into your Swell store account.
2. Click **Admin**, then **Settings**.
3. From the Settings page, click **API**.
4. At the top of the page, copy the Store ID.
5. Under one of the secret keys, click on the eye icon to make the key visible.
6. Copy the secret key.

Next, connect Swell to Gladly, where you must enter the secret key.

### **Connect Swell to Gladly**

From the [Apps](https://help.gladly.com/docs/add-new-integration) page, click **Add App > Custom**.

1. From the Add New Custom App page, enter the following information:
  - **Name –** Enter a name that will help you identify the integration. We recommend using "Swell.
  - **URL –** Enter *https://swell.store/integration/api/gladly/lookup.*
  - **Username –** Enter your Swell store name.
  - **Password –** Enter your Swell secret key.
  - **Realm (Optional) –** Leave this field blank.
  - **Signing Key –** This is the key used to sign each request Gladly makes to your lookup service. Enter *eCkyYJCCFVoaAXoBTEXKBrf0nyhmJq2hOehxakz17ZA*
  - **Search Query Attributes –** These attributes can be used to search for a Customer. There are two columns (Attribute, Label) required for Search Query Attributes. Enter the following as shown below.
    - **Note –** Searching by name and phone number works only for verified Customers only, and not guests.

| **Header** | Value |
| --- | --- |
| email | Email |
| name | Name |
| first_name | First Name |
| last_name | Last Name |
| externalCustomerId | External Customer ID |

- **Search Results Attributes –** These attributes appear when [linking](https://help.gladly.com/docs/link-customer-profile-to-an-external-integrated-system) a Customer to an external system like Swell. There are two columns (Attribute, Label) required for Search Results Attributes. Enter the following as shown below. **HeaderValue**emailEmailnameNameexternalCustomerIdExternal Customer IDphonePhone
- **Auto-Linking Fields –**If a Customer Profile is not currently linked to a Swell instance, and if your Swell instance responds with a unique profile with at least one auto-linking field match and no conflicts, Gladly will automatically link the profiles without any user intervention and populate the pulled information in the Customer Profile.
  - Check the box next to **Customer Email**. Auto-linking by phone/Phone Number attribute is currently not supported.
- **Overwrite Existing Values –** As an optional setting, if activated, when a Customer Profile is linked to a profile in Swell, Gladly will [overwrite](https://help.gladly.com/docs/automatically-link-customer-data/#h-customer-profile-data-refreshes-automatically) the existing name, address, and editable custom attributes in the Customer Profile in Gladly with data from Swell.
- **Enable Actions -** Do not check this box as Actions is not supported.

Click **Save App** when you're done. If the required fields are not completed, an error will appear; they are highlighted in red. Complete the missing fields and click **Save App** again.

Users assigned the **Team Manager** or **Administrator** roles can contact [Gladly Support](https://help.gladly.com/product-docs/pages/en/contact-gladly-support-team). Log into Gladly as one of these roles, click![hamburger-menu-icon(1)](https://cdn.us.document360.io/7047b671-c4f2-4df0-bb0a-b9b511fd2452/Images/Documentation/hamburger-menu-icon(1).svg)on the top-left corner, then click **Contact Gladly Support**. Gladly Support's primary operating hours are Monday through Friday, 6 AM to 6 PM Pacific Time, but you can submit a request anytime.

- Please select the correct business impact (P1 to P4).
- Most requests should be sent as a P4.
