> ## 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 Contentful with OAuth 2.0 – StackOne Hub

> Link a Contentful account in the StackOne Hub using OAuth 2.0. End-user guide to authorize the integration and start using Contentful actions.

<section data-guide-section data-guide-scopes="">
  <h2>Find your Space ID</h2>

  <p>Space IDs are passed as an input parameter on each space-scoped CMS action call<br />(entries, assets, content types). For webhook event delivery, enter one or more<br />space IDs in the <strong>Webhook Space IDs</strong> field (comma-separated).</p>

  <Steps>
    <Step title="Open Space General settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>From inside any Contentful space, click the <strong>Settings</strong> gear icon in the top-right<br />navigation bar and select <strong>General settings</strong> under the <strong>Space settings</strong> section.</p>

        <ul>
          <li>Click the <strong>Settings menu</strong> (gear icon, top-right of the space navigation bar).</li>
          <li>Under <strong>Space settings</strong>, click <strong>General settings</strong>.</li>
          <li>Copy the value shown in the <strong>Space ID</strong> field. It is a 12-character alphanumeric string (e.g., `abc123xyz789`). Use this value as the `space_id` input when calling space-scoped CMS actions (entries, assets, content types), or enter it in <strong>Webhook Space IDs</strong> (comma-separated, e.g. `abc123xyz789,def456uvw012`) to receive webhook events from that space.</li>
        </ul>

        <img src="https://mintcdn.com/stackone-60/8Et9wQ4fF8r7yY8U/connectors/contentful/images/oauth-2-0-config-step-1.png?fit=max&auto=format&n=8Et9wQ4fF8r7yY8U&q=85&s=9a3694c2b07f8c2b51b60aed37a5b6a4" alt="Space settings General page with Space ID field highlighted" width="1280" height="800" data-path="connectors/contentful/images/oauth-2-0-config-step-1.png" />
      </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>Webhook Space IDs</strong> (Optional)</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>

## Next Steps

<Columns cols={2}>
  <Card title="Webhooks setup" href="/connectors/contentful/guides/webhook-setup">
    <p className="connector-page-auth-description" style={{ fontSize: '14px', marginTop: 0, marginBottom: 0 }}>
      Configure receiving Events for Contentful into StackOne.
    </p>
  </Card>
</Columns>
