> For the complete documentation index, see [llms.txt](https://help.checkoutchamp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.checkoutchamp.com/crm/plugins/data-sources/gorgias.md).

# Gorgias

This article provides a guide on how to connect your Gorgias account with your CheckoutChamp CRM.

{% hint style="info" %}
Gorgias CheckoutChamp Integration Documentation can be found [here](https://docs.gorgias.com/ecommerce-integrations/checkout-champ)
{% endhint %}

***

### Step 1: Obtain Gorgias API Credentials <a href="#gorgias-step1-obtaingorgiasapicredentials" id="gorgias-step1-obtaingorgiasapicredentials"></a>

#### Navigate to **Settings → REST API** to obtain these credentials. <a href="#gorgias-navigatetosettings-restapitoobtainthesecredentials" id="gorgias-navigatetosettings-restapitoobtainthesecredentials"></a>

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2Fluyw2jmrMnWVohdbwtoL%2Fimage.png?alt=media&amp;token=549505b3-a5d8-4942-a181-da9e6d58c26c" alt=""><figcaption></figcaption></figure>

#### **Be sure to save/copy all fields as they will be required for the CRM setup.** <a href="#gorgias-besuretosave-copyallfieldsastheywillberequiredforthecrmsetup" id="gorgias-besuretosave-copyallfieldsastheywillberequiredforthecrmsetup"></a>

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

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

&#x20;![](https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FS4NXleERuJCcPtGyszRN%2Fimage.png?alt=media\&token=8c51e939-9c58-4343-81fe-cbf9e1f7d88a)

&#x20;

#### **baseUrl** **-** your Gorgias Base API Url used to make requests to Gorgias’ API. <a href="#gorgias-baseurl-yourgorgiasbaseapiurlusedtomakerequeststogorgiasapi" id="gorgias-baseurl-yourgorgiasbaseapiurlusedtomakerequeststogorgiasapi"></a>

#### **userName** **-** your Gorgias REST API username as it shows in Gorgias. <a href="#gorgias-username-yourgorgiasrestapiusernameasitshowsingorgias" id="gorgias-username-yourgorgiasrestapiusernameasitshowsingorgias"></a>

#### **apiKey** **-** your Gorgias API key (required) <a href="#gorgias-apikey-yourgorgiasapikey-required" id="gorgias-apikey-yourgorgiasapikey-required"></a>

#### **IntegrationId -** read-only value that represents the Id of the Gorgias integration. <a href="#gorgias-integrationid-read-onlyvaluethatrepresentstheidofthegorgiasintegration" id="gorgias-integrationid-read-onlyvaluethatrepresentstheidofthegorgiasintegration"></a>

&#x20;

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2Fu3eieHUnXUsVlHLWB11C%2Fimage.png?alt=media&amp;token=164a3545-c317-4bc5-acaa-5fb41325be29" alt=""><figcaption></figcaption></figure>

&#x20;

&#x20;

#### Once the plugin is activated you should now see a new HTTP Integration and also a few macros to be used with this integration inside of Gorgias. <a href="#gorgias-oncethepluginisactivatedyoushouldnowseeanewhttpintegrationandalsoafewmacrostobeusedwiththisi" id="gorgias-oncethepluginisactivatedyoushouldnowseeanewhttpintegrationandalsoafewmacrostobeusedwiththisi"></a>

&#x20;

### Step 3: Verify that the Integration and Widget were successfully created. <a href="#gorgias-step3-verifythattheintegrationandwidgetweresuccessfullycreated" id="gorgias-step3-verifythattheintegrationandwidgetweresuccessfullycreated"></a>

**Integrations can be found in Settings → General → Integrations. You should see an HTTP integration named “CheckoutChamp Integration”.**

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FDhBNRfg0mVzdo4loNsh7%2Fimage.png?alt=media&amp;token=2e0733d9-3913-412c-8b5a-75c5f2a4137a" alt=""><figcaption></figcaption></figure>

**The CheckoutChamp Integration pulls orders from the CRM based on email address used in the ticket.**

**If the customer exists the widget on the right will populate with the customer’s order data. Please see below.**

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FRrnwXtv6OYtZKNlbdv3Y%2Fimage.png?alt=media&amp;token=2b2438ed-6428-46be-bd65-c3553e1ae10b" alt=""><figcaption></figcaption></figure>

### Step 4: Verify the Macros were successfully created. <a href="#gorgias-step4-verifythemacrosweresuccessfullycreated" id="gorgias-step4-verifythemacrosweresuccessfullycreated"></a>

**Macros can be found in Settings → Automation → Macros. Once on the Macro page you should see 11 CheckoutChamp macros.**

<figure><img src="https://3790748257-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT43PzcNjyZtWby9yrGd3%2Fuploads%2FXhTb2nYnlJMUHzgb6s2r%2Fimage.png?alt=media&amp;token=8d8f611d-7a20-4880-9619-8c045760707e" alt=""><figcaption></figcaption></figure>

**CheckoutChamp Full Refund** - Allows for a Gorgias rep to issue a refund for a particular order.

**CheckoutChamp Partial Refund** - Allows for a Gorgias rep to issue a partial refund for a particular order.

**CheckoutChamp Shipping Address Change** - Allows for a Gorgias rep to change shipping address details tied to an order.

**CheckoutChamp Billing Address Change** - Allows for a Gorgias rep to change billing address details tied to an order.

**CheckoutChamp Cancel Order** - Allows for a Gorgias rep to cancel an order. Can issue full refunds.

**CheckoutChamp Customer Note** - Allows for a Gorgias rep to add a note to a customer record in the CRM.

**CheckoutChamp Customer Update** - Allows for a Gorgias rep to update info on a CRM customer's record.

**CheckoutChamp Cancel Subscription** - Allows for a Gorgias rep to cancel a CRM Subscription.

**CheckoutChamp Pause Subscription** - Allows for a Gorgias rep to pause a CRM Subscription.

**CheckoutChamp Update Subscription Bill Cycle** - Allows for a Gorgias rep to update a CRM Subscription.

**CheckoutChamp Update Subscription Products** - Allows for a Gorgias rep to update a CRM Subscription.

{% hint style="info" %}
A note on Gorgias Operations. If a value in a text box is defaulted to 0, it is a true/false value. Enter 0 for false, 1 for true.
{% endhint %}

{% hint style="warning" %}
Troubleshooting: If the Gorgias Widget, or any macro, is accidentally deleted, delete the Gorgias plugin and repeat these steps to restore them.
{% endhint %}
