> ## 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 Freshdesk with API Key – StackOne Hub

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

<section data-guide-section data-guide-scopes="">
  <h2>Retrieve Your Freshdesk Domain</h2>

  <p>Identify your Freshdesk subdomain, which is used to construct API requests. If you don't have a Freshdesk account yet, sign up for a free trial at <a href="https://www.freshworks.com/freshdesk/signup/" target="_blank" rel="noopener noreferrer">[https://www.freshworks.com/freshdesk/signup/](https://www.freshworks.com/freshdesk/signup/)</a>, then follow the steps below.</p>

  <Steps>
    <Step title="Find Your Domain">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Your Freshdesk domain is the subdomain in your Freshdesk URL. For example, if your Freshdesk URL is `https://mycompany.freshdesk.com`, then your domain is `mycompany`.</p>
      </div>
    </Step>

    <Step title="Enter the Domain">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Enter your subdomain (e.g., `mycompany`) in the <strong>Domain</strong> field in StackOne.</p>
      </div>
    </Step>
  </Steps>
</section>

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

  <p>Create an API key to authenticate with the Freshdesk API.</p>

  <Steps>
    <Step title="Access Your Profile Settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>- Open `https://<your-subdomain>.freshdesk.com/support/login` in your browser (for example, <a href="https://stackone-test.freshdesk.com/support/login" target="_blank" rel="noopener noreferrer">[https://stackone-test.freshdesk.com/support/login](https://stackone-test.freshdesk.com/support/login)</a>). Replace `<your-subdomain>` with your own Freshdesk subdomain.<br />- On the <strong>Log in to support portal</strong> page, click the <strong>Login here</strong> link next to <strong>Are you an agent?</strong>. You will be redirected to the Freshworks <strong>Sign in</strong> page — verify in your browser's URL bar that the page now contains your own Freshdesk domain in the format `https://<your-subdomain>-<account-id>.myfreshworks.com/login` (for example, `https://stackone-977538038147776897.myfreshworks.com/login`).<br />- Enter your Freshdesk login credentials again. Once authenticated, you will be redirected to your Freshdesk portal at `https://<your-subdomain>.freshdesk.com`.<br />- Click your profile picture in the top-right corner.<br />- Select <strong>Profile settings</strong> from the dropdown menu.</p>
      </div>
    </Step>

    <Step title="View Your API Key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>On the profile settings page, click the <strong>View API Key</strong> button on the right side to reveal your API key. If you need a new key, click the <strong>Reset API Key</strong> button to generate a fresh one.</p>
      </div>
    </Step>

    <Step title="Solve the CAPTCHA Challenge">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>After clicking <strong>View API Key</strong>, a reCAPTCHA image verification challenge (e.g., "Select all images with cars") may appear that must be solved before the API key is revealed.</p>
      </div>
    </Step>

    <Step title="Copy the API Key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Copy the API key and paste it into the <strong>API Key</strong> field in StackOne. Keep this key secure as it provides full access to your Freshdesk account.</p>
      </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="/guides/accounts-section#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>Domain</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="/guides/accounts-section">Accounts</a> page.</p>
</div>
