> ## 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 WooCommerce with API Keys – StackOne Hub

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

<section data-guide-section data-guide-scopes="">
  <h2>Prerequisites</h2>

  <p>Before proceeding, ensure the following requirements are met.</p>

  <Steps>
    <Step title="Paid WordPress plan with WooCommerce installed">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>WooCommerce is only available on paid WordPress plans with the WooCommerce plugin installed and activated. Without this, the WooCommerce option will not appear in your WordPress sidebar and you will not be able to generate API keys. If you don't have an account, sign up at <a href="https://wordpress.com/start" target="_blank" rel="noopener noreferrer">[https://wordpress.com/start](https://wordpress.com/start)</a>.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Generate WooCommerce REST API Keys</h2>

  <p>Create REST API credentials in your WooCommerce store admin panel.</p>

  <Steps>
    <Step title="Navigate to REST API Keys">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Log in to your WordPress admin dashboard. For example, if your store is at `https://{mystore}.com`, your login URL is `https://{mystore}.com/wp-admin`.</p>

        <ul>
          <li>Login URL: `https://{mystore}.com/wp-admin`</li>
          <li>In the left sidebar, click <strong>WooCommerce</strong>.</li>
          <li>Click <strong>Settings</strong>.</li>
          <li>Click the <strong>Advanced</strong> tab at the top.</li>
          <li>Click <strong>REST API keys</strong> in the sub-navigation below the tabs.</li>
        </ul>
      </div>
    </Step>

    <Step title="Create a new API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Generate a new key pair for API access.</p>

        <ul>
          <li>Click <strong>Add key</strong>.</li>
          <li>Enter a <strong>Description</strong> (e.g., `StackOne Integration`).</li>
          <li>Select the <strong>User</strong> the key will authenticate as.</li>
          <li>Set <strong>Permissions</strong> to <strong>Read</strong> or <strong>Read/Write</strong> (required — other permissions will cause the connection to fail).</li>
          <li>Click <strong>Generate API key</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy your credentials">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Save both credentials immediately — the Consumer Secret is shown only once.</p>

        <ul>
          <li>Copy the <strong>Consumer Key</strong> (starts with `ck_`).</li>
          <li>Copy the <strong>Consumer Secret</strong> (starts with `cs_`).</li>
          <li>Store both values securely before closing the page.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Find your Store URL</h2>

  <p>Your store URL is the domain where WooCommerce is installed.</p>

  <Steps>
    <Step title="Identify your store URL">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Use the full HTTPS URL of your WooCommerce store — without the API path.</p>

        <ul>
          <li>Example: if your WooCommerce API is at `https://{mystore}.com/wp-json/wc/v3`, enter `https://{mystore}.com` as your Store URL</li>
          <li>Do not include a trailing slash.</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="/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>Store URL</strong></li>
        <li><strong>Consumer Key</strong></li>
        <li><strong>Consumer Secret</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>
