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

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

<Warning>Ensure you have appropriate permissions in your PagerDuty account to generate API keys and access the required resources.</Warning>

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

  <p>To connect PagerDuty with StackOne, you'll need to generate an API access key from your PagerDuty account.</p>

  <Steps>
    <Step title="Sign in and navigate to API Access Keys">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your PagerDuty account.</p>

        <ul>
          <li>Hover over the <strong>Integrations</strong> tab in the top navigation bar.</li>
          <li>Under the <strong>Developer Tools</strong> section, click on <strong>API Access Keys</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Create a new API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>On the API Access Keys page, click the <strong>+ Create New API Key</strong> button.</p>
      </div>
    </Step>

    <Step title="Configure the API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the popup dialog, enter a description for your API key to help identify its purpose.</p>

        <ul>
          <li>Example description: StackOne Integration</li>
          <li>Click the <strong>Create Key</strong> button</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>After creation, your new API key will be displayed in the popup. The API key will be displayed only once and cannot be retrieved later, so copy it and store it securely for use later.</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>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>
