# 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 %}

![](/files/-M_vXOuMFcRom3xb8t9O)

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

![](/files/-M_vZSwGJ7qLbrysXu2x)

## 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:


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://daton-sarasanalytics.gitbook.io/daton/integrations/data-sources/advertising/gorgias.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
