# Gorgias

## Setup Gorgias in Daton

## Step 1 - Create API Key&#x20;

Login to Gorgias and create and API Key

{% hint style="info" %}
REST API keys are only accessible by using an Admin account.&#x20;
{% endhint %}

![](https://15515196-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbJ1eMq5M51cIpU163R%2F-M_vWl9rNChQR8ubgBuk%2F-M_vXOuMFcRom3xb8t9O%2F2021-05-17%20at%201.13%20PM.png?alt=media\&token=c9323465-ea90-4c30-9133-0d1a9cc20a0a)

## Step 2 - Copy the base API URL, Username, and API Key

![](https://15515196-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LbJ1eMq5M51cIpU163R%2F-M_vWl9rNChQR8ubgBuk%2F-M_vZSwGJ7qLbrysXu2x%2F2021-05-17%20at%201.23%20PM.png?alt=media\&token=962f5c3b-24a9-48c0-975c-3214ca8861de)

## Step 3 - Configure Integration in Daton

1. Sign in to Daton.
2. Select Gorgias from the Integrations page
3. Provide Integration **name**, **replication frequency** and **history**. The integration name would be used in creating tables for the integration and cannot be changed later.
4. Enter your **API URL**, **username** & **API Key** (obtained from [step 2](#step-2-copy-the-base-api-url-username-and-api-key))
5. After authentication, you'll be prompted to **select the table**s for which you need daton to pull the data for.
6. Then select the required **fields** for each table.
7. Submit the integration.:tada:
