> ## Documentation Index
> Fetch the complete documentation index at: https://conductorone-docs-baton-kubernetes.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up a Gorgias connector

> C1 provides identity governance for Gorgias. Integrate your Gorgias instance with C1 for unified visibility and governance over user access.

C1 provides identity governance for Gorgias. Integrate your Gorgias account
with C1 for unified visibility and governance over agent access.

## Capabilities

| Resource | Sync                                                          | Provision |
| -------- | ------------------------------------------------------------- | --------- |
| Users    | <Icon icon="square-check" iconType="solid" color="#c937ae" /> |           |

The connector syncs every agent (user) on the Gorgias account. Each user's
Gorgias role is surfaced as an attribute on the user, and an agent that has
been deactivated in Gorgias appears as disabled. Gorgias customers are a
separate, non-administrative population and are not synced.

## Gather Gorgias credentials

<Warning>
  To configure the Gorgias connector, you need a Gorgias account whose API key
  can read the agent list. An administrator account is recommended so the key
  can see every agent on the account.
</Warning>

<Steps>
  <Step>
    Sign in to Gorgias and open **Settings**.
  </Step>

  <Step>
    Open **REST API** and copy your **API key**, along with the email address
    of the account the key belongs to. The connector authenticates with HTTP
    Basic auth using the email as the username and the API key as the password.
  </Step>

  <Step>
    Note your account base URL — it is your Gorgias subdomain, for example
    `https://your-subdomain.gorgias.com`.
  </Step>
</Steps>

## Configure the Gorgias connector

<Tabs>
  <Tab title="Cloud-hosted">
    Follow these instructions to use a built-in, no-code connector hosted by C1.

    <Steps>
      <Step>
        In C1, navigate to **Integrations** > **Connectors** and click **Add connector**.
      </Step>

      <Step>
        Search for **Gorgias** and click **Add**.
      </Step>

      <Step>
        Choose how to set up the new Gorgias connector.
      </Step>

      <Step>
        Set the owner for this connector.
      </Step>

      <Step>
        Click **Next**.
      </Step>

      <Step>
        Find the **Settings** area of the page and click **Edit**.
      </Step>

      <Step>
        Enter the Gorgias credentials:

        * **Base URL**: your account origin, e.g. `https://your-subdomain.gorgias.com`.
        * **Account email**: the email address of the user the API key belongs to.
        * **API key**: the API key from **Settings → REST API**.
      </Step>

      <Step>
        Click **Save**.
      </Step>

      <Step>
        The connector's label changes to **Syncing**, followed by **Connected**. You can view the logs to ensure that information is syncing.
      </Step>
    </Steps>

    **Done.** Your Gorgias connector is now pulling access data into C1.
  </Tab>

  <Tab title="Self-hosted">
    Follow these instructions to run the Gorgias connector in your own
    environment.

    <Steps>
      <Step>
        Create secrets for the Gorgias credentials.
      </Step>

      <Step>
        Configure the connector environment variables:

        * **BATON\_GORGIAS\_BASE\_URL**: your account origin, e.g. `https://your-subdomain.gorgias.com`.
        * **BATON\_GORGIAS\_EMAIL**: the email address of the user the API key belongs to.
        * **BATON\_GORGIAS\_API\_KEY**: the API key from **Settings → REST API**.
      </Step>

      <Step>
        Deploy the connector using your standard self-hosted connector process.
      </Step>
    </Steps>

    **Done.** Your Gorgias connector is now pulling access data into C1.
  </Tab>
</Tabs>
