> ## 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 GitHub with OAuth 2.0 (GHE.com) – StackOne Hub

> Link a GitHub account in the StackOne Hub using OAuth 2.0 (GHE.com). End-user guide to authorize the integration and start using GitHub actions.

> [!WARNING]
>
> Connect as an owner of each organization StackOne should read, because members cannot read the organization audit log. If your enterprise uses an IP allow list, it must allow [StackOne's IP addresses](https://docs.stackone.com/connect/troubleshooting.md#connection-issues-behind-a-firewall). If your identity provider's Conditional Access policy limits IP addresses, it must allow them too.

## Find your organization ID

The **Organization ID** is the organization name in your organization's address on GHE.com.

<ul>
  <li>Format: `https://<subdomain>.ghe.com/<organization ID>`</li>
  <li>Example: if the organization's address is `https://acme.ghe.com/acme-engineering`, the organization ID is `acme-engineering`</li>
</ul>

## What GitHub reports for managed users

Managed users sign in and use two-factor authentication through your identity provider, so the two-factor status GitHub shows for them is always off.

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</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>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/connect/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/github/guides/webhook-setup.md)
>
> Configure receiving Events for GitHub into StackOne.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.