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

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

<Warning>You must have a Cloudways account with API access enabled. API access is available on all plans.</Warning>

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

  <p>An API key authenticates your integration with the Cloudways Platform API.</p>

  <Steps>
    <Step title="Sign in to Cloudways">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://platform.cloudways.com/login" target="_blank" rel="noopener noreferrer">Cloudways account</a>.</p>

        <ul>
          <li>Click your profile icon in the top-right corner and select <strong>Account</strong> from the dropdown.</li>
        </ul>
      </div>
    </Step>

    <Step title="Enable and copy your API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Navigate to the <strong>API</strong> section in your account settings.</p>

        <ul>
          <li>Direct link: <a href="https://platform.cloudways.com/api" target="_blank" rel="noopener noreferrer">platform.cloudways.com/api</a></li>
          <li>If API access is not yet enabled, toggle it on.</li>
          <li>Your API key will be displayed on this page.</li>
          <li>Copy the API key and store it securely for use later.</li>
          <li>Note: if you click <strong>Regenerate Key</strong>, your previous key will be revoked immediately.</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Find your account email</h2>

  <p>Your account email is the email address you use to sign in to Cloudways.</p>

  <ul>
    <li>This is the same email shown on the <strong>Account</strong> > <strong>Profile</strong> page.</li>
    <li>Note: if you change your Cloudways account email, your API key will also be updated and you will need to reconfigure the integration.</li>
  </ul>
</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>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="/guides/accounts-section">Accounts</a> page.</p>
</div>
