Step 1 — Create a GitHub App in a user account
- Sign in with a user account (example: the Dev2 account).
- From the user Settings, open Developer settings and choose Create a new GitHub App.
- Provide the required metadata:
- App name
- Description
- Homepage URL (for example,
https://example.com)

- User identification settings
- Webhooks
- OAuth redirect URLs
Step 2 — Choose repository permissions for the GitHub App
Grant only the minimum permissions the app needs. Examples:Use the principle of least privilege. Only grant the permissions your app requires to reduce risk if the app is compromised.

Step 3 — Register the application
After completing the form and selecting permissions, register the GitHub App. Once created, the app exposes a public installation link that can be used to install it into accounts or organizations.Step 4 — Install the app into an organization
When you click Install App (or use the public installation link), GitHub presents install options:- Install on your personal account, or
- Install on an organization where you have permission to install apps
game-devstudio/app-backend, then clicks Install & Request.

Important: organization third-party application access policy
If the target organization enforces a third-party application access policy set to Access restricted, member-initiated installs do not succeed immediately. Instead, the install becomes a pending request that requires admin approval.If an organization uses “Access restricted” for third-party applications, any installation attempt by a member will create a pending request. Organization administrators must review and either approve or reject the request before the app is granted access.
Step 5 — Admin review and approval
Organization administrators can review pending installation requests in the organization Settings under the GitHub Applications or OAuth application policy section. In the pending installations view an admin sees:- App name
- Requesting user
- Requested repository access (which repos)
- Permission scopes requested

- Change the organization’s third-party application access policy (for example, allow installations without admin approval), or
- Maintain a whitelist of approved apps to streamline installs.

Summary
- Registering a GitHub App requires metadata (name, description, homepage) and selecting the minimum repository permissions needed.
- Installing an app into an organization that enforces Access restricted will create a pending request that an admin must review and approve.
- Organization owners can remove restrictions or maintain a whitelist to control which third-party apps are allowed.
Links and references
- GitHub Apps overview: https://docs.github.com/en/developers/apps/overview-of-github-apps
- Manage third-party application access policy: https://docs.github.com/en/organizations/managing-access-to-your-organizations-resources/enforcing-third-party-application-access-restrictions
- GitHub Developer settings: https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-user-account/managing-your-personal-account-settings