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

# Connect Gorgias with API Key – StackOne Hub

> Link a Gorgias account in the StackOne Hub using API Key. End-user guide to authorize the integration and start using Gorgias actions.

<section data-guide-section data-guide-scopes="">
  <h2>Generate API Credentials</h2>

  <p>Retrieve your email, API key, and subdomain from the Gorgias <strong>REST API</strong> settings page. All three values are available on this single page.</p>

  <Steps>
    <Step title="Sign in to Gorgias">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Go to your <a href="https://gorgias.com/login" target="_blank" rel="noopener noreferrer">Gorgias account</a> and sign in. You can use <strong>Continue with Google</strong>, <strong>Continue with Microsoft 365</strong>, or enter your <strong>Email address</strong> and <strong>Password</strong> and click <strong>Login</strong>.</p>

        <img src="https://mintcdn.com/stackone-60/BE-iarbAUVWugUJ5/connectors/gorgias/images/custom-config-sign-in.png?fit=max&auto=format&n=BE-iarbAUVWugUJ5&q=85&s=b06f03063cc68f49bff4f56593218df7" alt="Gorgias login screen with Google, Microsoft 365, and email and password sign-in options" width="1280" height="800" data-path="connectors/gorgias/images/custom-config-sign-in.png" />
      </div>
    </Step>

    <Step title="Open Settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the bottom-left corner of the Gorgias app, click the <strong>⚙ Settings</strong> (gear) icon.</p>

        <img src="https://mintcdn.com/stackone-60/BE-iarbAUVWugUJ5/connectors/gorgias/images/custom-config-open-settings.png?fit=max&auto=format&n=BE-iarbAUVWugUJ5&q=85&s=be45db9c888b759e2a8a46e500615983" alt="Gorgias app with the Settings gear icon highlighted in the bottom-left corner" width="1280" height="800" data-path="connectors/gorgias/images/custom-config-open-settings.png" />
      </div>
    </Step>

    <Step title="Open the REST API settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the <strong>Settings</strong> sidebar, under <strong>Account</strong>, click <strong>REST API</strong>. The <strong>API Access & Credentials</strong> section lists everything you need.</p>

        <img src="https://mintcdn.com/stackone-60/BE-iarbAUVWugUJ5/connectors/gorgias/images/custom-config-rest-api-settings.png?fit=max&auto=format&n=BE-iarbAUVWugUJ5&q=85&s=f77395c7f4b737a7ea2738fff2c56fbc" alt="Gorgias Settings sidebar with REST API selected under the Account section" width="1280" height="800" data-path="connectors/gorgias/images/custom-config-rest-api-settings.png" />
      </div>
    </Step>

    <Step title="Copy your email address">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the <strong>API Access & Credentials</strong> section, your email address is shown in the field labeled <strong>Username (your email address)</strong> — your Gorgias Username is your email address. Click <strong>Copy</strong> and paste it into the <strong>Email</strong> field in StackOne Hub.</p>

        <img src="https://mintcdn.com/stackone-60/BE-iarbAUVWugUJ5/connectors/gorgias/images/custom-config-credentials.png?fit=max&auto=format&n=BE-iarbAUVWugUJ5&q=85&s=f90ad20e7ac1128e56fce68a72ac58fa" alt="REST API page showing the Base API URL, Username (your email address), and Password (API Key) fields" width="1280" height="800" data-path="connectors/gorgias/images/custom-config-credentials.png" />
      </div>
    </Step>

    <Step title="Copy your API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Your API key is shown in the <strong>Password (API Key)</strong> field. Click the eye (<strong>visibility</strong>) icon to reveal it if needed, then click <strong>Copy</strong> and paste it into the <strong>API Key</strong> field in StackOne Hub.</p>

        <ul>
          <li>Clicking <strong>Reset</strong> generates a new API key and immediately invalidates the previous one, so only reset if you intend to replace it.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy your subdomain">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Your subdomain is the first part of the <strong>Base API URL</strong> shown on this page. Copy it into the <strong>Subdomain</strong> field in StackOne Hub.</p>

        <ul>
          <li>Format: `https://{subdomain}.gorgias.com/api/`</li>
          <li>Example: for `https://mycompany.gorgias.com/api/`, the subdomain is `mycompany`</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<div data-whitelabel-hide>
  <h2>Linking the Account from the Hub</h2>

  <Steps>
    <Step title="Navigate to the Hub">
      Use one of the three <a href="/connect/managing-connectors/linking-accounts">Linking Account Methods</a> to access the Hub.
    </Step>

    <Step title="Fill out the fields">
      Fill out the following fields using details from your provider:

      <ul>
        <li><strong>Subdomain</strong></li>
        <li><strong>Email</strong></li>
        <li><strong>API Key</strong></li>
      </ul>
    </Step>

    <Step title="Connect">
      <ul>
        <li>Click <strong>Connect</strong></li>
        <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
        <li>Once authorization is successful, you will see a confirmation popup</li>
      </ul>
    </Step>
  </Steps>

  <p>If the account linking is successful, you will see the newly linked account in your <a href="/gateway/concepts/linked-accounts">Accounts</a> page.</p>
</div>

## Next Steps

<Columns cols={2}>
  <Card title="Webhooks setup" href="/connectors/gorgias/guides/webhook-setup">
    <p className="connector-page-auth-description connector-page-card-text">
      Configure receiving Events for Gorgias into StackOne.
    </p>
  </Card>
</Columns>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.