Apidog Docs
🇺🇸 English
  • 🇺🇸 English
  • 🇯🇵 日本語
  • 🇪🇸 Español
  • 🇰🇷 한국인
  • 🇨🇳 简体中文
  • 🇵🇹 Português (Portugal)
  • 🇮🇩 Bahasa Indonesia
  • 🇧🇷 Português (Brasil)
  • 🇻🇳 Tiếng Việt
  • 🇨🇳 繁體中文
🇺🇸 English
  • 🇺🇸 English
  • 🇯🇵 日本語
  • 🇪🇸 Español
  • 🇰🇷 한국인
  • 🇨🇳 简体中文
  • 🇵🇹 Português (Portugal)
  • 🇮🇩 Bahasa Indonesia
  • 🇧🇷 Português (Brasil)
  • 🇻🇳 Tiếng Việt
  • 🇨🇳 繁體中文
🇺🇸 English
  • 🇺🇸 English
  • 🇯🇵 日本語
  • 🇪🇸 Español
  • 🇰🇷 한국인
  • 🇨🇳 简体中文
  • 🇵🇹 Português (Portugal)
  • 🇮🇩 Bahasa Indonesia
  • 🇧🇷 Português (Brasil)
  • 🇻🇳 Tiếng Việt
  • 🇨🇳 繁體中文
Learning Center
HomeSupport CenterAPI ReferencesDownloadChangelog
Learning Center
HomeSupport CenterAPI ReferencesDownloadChangelog
  1. Organization Resources
  • Apidog Learning Center
  • Getting Started
    • Introduction to Apidog
    • Basic Concepts in Apidog
    • Navigating Apidog
    • Quick Start
      • Overview
      • Creating an Endpoint
      • Making a Request
      • Adding an Assertion
      • Creating Test Scenarios
      • Sharing API Documentation
      • Explore More
    • Migration to Apidog
      • Overview
      • Manual Import
      • Scheduled Import (Bind Data Sources)
      • Import Options
      • Export Data
      • Import From
        • Import from Postman
        • Import from Stoplight
        • Import OpenAPI Spec
        • Import cURL
        • Import Markdowns
        • Import from Insomnia
        • Import from apiDoc
        • Import .har File
        • Import WSDL
  • Design APIs
    • Overview
    • Create a New API Project
    • Endpoint Basics
    • APl Design Guidelines
    • Module
    • Configure Multiple Request Body Examples
    • Components
    • Common Fields
    • Global Parameters
    • Endpoint Change History
    • Comments
    • Batch Endpoint Management
    • Custom Protocol API
    • Spec-first Mode (Beta)
    • Schemas
      • Overview
      • Create a New Schema
      • Build a Schema
      • Generate Schemas from JSON Etc
      • oneOf, allOf, anyOf
      • Using Discriminator
    • Security Schemes
      • Overview
      • Create a Security Scheme
      • Use the Security Scheme
      • Security Scheme in Online Documentation
    • Advanced Features
      • Custom Endpoint Fields
      • Associated Test Scenarios
      • Endpoint Status
      • Appearance of Parameter Lists
      • Endpoint Unique Identification
  • Develop and Debug APIs
    • Overview
    • Generating Requests
    • Sending Requests
    • Debugging Cases
    • Test Cases
    • Dynamic Values
    • Validating Responses
    • Design-First vs Request-First
    • Generating Code
    • AI Debugging
      • AI Agent Debugger
      • A2A Debugger
    • Environments & Variables
      • Overview
      • Using Variables
      • Environment Management
    • Vault Secrets
      • Overview
      • HashiCorp Vault
      • Azure Key Vault
      • AWS Secrets Manager
    • Pre and Post Processors
      • Overview
      • Assertion
      • Extract Variable
      • Wait
      • Security
      • Database Operations
        • Overview
        • MySQL
        • MongoDB
        • Redis
        • Oracle Client
      • Using Scripts
        • Overview
        • Pre Processor Scripts
        • Post Processor Scripts
        • Public Scripts
        • Postman Scripts Reference
        • Calling Other Programming Languages
        • Using JS Libraries
        • Visualizing Responses
        • Script Examples
          • Assertion Scripts
          • Using Variables
          • Modifying Requests
          • Other Examples
    • Dynamic Values Modules
  • Mock API Data
    • Overview
    • Smart Mock
    • Custom Mock
    • Mock Priority Sequence
    • Mock Scripts
    • Cloud Mock
    • Self-Hosted Runner Mock
    • Mock Language (Locales)
  • API Testing
    • Overview
    • Test Reports
      • Test Reports
    • Test Scenarios
      • Create a Test Scenario
      • Pass Data Between Requests
      • Flow Control Conditions
      • Sync Data from Endpoints and Endpoint Cases
      • Import Endpoints and Endpoint Cases from Other Projects
      • Export Test Scenarios
    • Run Test Scenarios
      • Run a Test Scenario
      • Run Test Scenarios in Batch
      • Data-Driven Testing
      • Shared Test Data
      • Scheduled Tasks
      • Manage Runtime Environment of APIs from Other Projects
    • Test APIs
      • Integration Testing
      • Performance Testing
      • End-to-End Testing
      • Regression Testing
      • Contract Testing
    • Test Suite
      • Overview
      • Create A Test Suite
      • Orchestrate Test Suite
      • Run Test Suites Locally
      • Scheduled Tasks
  • Apidog CLI
    • Overview
    • Installing and Running Apidog CLI
    • Run Test Suites Via CLI
    • Apidog CLI Commands & Options
    • Use Apidog CLI with an AI Agent
    • CI CD
      • Overview
      • Trigger Test by Git Commit
      • Integrate with Github Actions
      • Integrate with Gitlab
      • Integrate with Jenkins
  • Publish API Docs
    • Overview
    • API Technologies Supported
    • Quick Share
    • Viewing API Documentation
    • Markdown Documentation
    • Publishing Documentation Sites
    • Custom Login Page
    • Custom Layouts
    • Custom CSS, JavaScript, HTML
    • Custom Domain
    • AI Features
    • SEO Settings
    • Advanced Settings
      • Documentation Search
      • CORS Proxy
      • Integrating Google Analytics
      • Folder Tree Settings
      • Visibility Settings
      • Embedding Values in Document URLs
    • API Versions
      • Overview
      • Creating API Versions
      • Publishing API Versions
      • Sharing Endpoints with API Versions
  • Send Requests
    • Overview
    • SSE Debugging
    • MCP Client
    • Socket.IO
    • WebSocket
    • Webhook
    • SOAP or WebService
    • GraphQL
    • gRPC
    • Use Request Proxy Agents for Debugging
    • Create Requests
      • Request History
      • Request Basics
      • Parameters and Body
      • Request Headers
      • Request Settings
      • Debug Requests
      • Saving Requests as Endpoints
      • HTTP/2
    • Response and Cookies
      • Viewing API Responses
      • Managing Cookies
      • Overview
    • Authentication and Authorization
      • Overview
      • CA and Client Certificates
      • Authorization Types
      • Digest Auth
      • OAuth 1.0
      • OAuth 2.0
      • Hawk Authentication
      • Kerberos
      • NTLM
      • Akamai EdgeGrid
  • Branches
    • Overview
    • Creating a Sprint Branch
    • Testing APIs in a Branch
    • Designing APIs in a Branch
    • Merging Sprint Branches
    • Managing Sprint Branches
    • AI Branch (Beta)
  • AI Features
    • Overview
    • Enabling AI Features
    • Generating Test Cases
    • Modifying Schemas with AI
    • Endpoint Compliance Check
    • API Documentation Completeness Check
    • AI-Powered Field Naming
    • FAQs
  • Apidog MCP Server
    • Overview
    • Connect Apidog Project to AI
    • Connect Published Documentation to AI
    • Connect OpenAPI Files to AI
  • Best Practices
    • Handling API Signatures
    • Accessing OAuth 2.0 Protected APIs
    • Collaboration Workflow
    • Managing Authentication State
  • Offline Space
    • Overview
  • Administration
    • Onboarding Checklist
      • Basic Concepts
      • Onboarding Guide
    • Managing Projects
      • Notification Settings
      • Managing Project Members
      • Managing Projects
      • Project Resources
        • Database Connection
        • Git Connection
    • Managing Teams
      • Managing Teams
      • Managing Team Members
      • Team Roles & Permissions
      • Team Activities
      • Team Resources
        • General Runner
        • Team Variables
        • Request Proxy Agent
      • Real-time Collaborations
        • Team Collaboration
    • Managing Organization
      • Managing Organization
      • Organization Role & Permissions
      • Audit Logs
      • Enterprise Policies
      • Single Sign-On (SSO)
        • SSO Overview
        • Configuring Microsoft Entra ID
        • Configuring Okta
        • Configuring SSO for an Organization
        • Managing User Accounts
        • Mapping Groups to Teams
        • Configuring JumpCloud SSO
      • SCIM Provisioning
        • Introduction to SCIM Provisioning
        • Microsoft Entra ID
        • Okta
      • Plans Management
        • Billing Managers in Organizations
      • Organization Resources
        • Self-Hosted Runner
        • GitHub Enterprise Cloud
  • Billing
    • Overview
    • Credits
    • Upgrading Your Plan
    • Alternative Payment Methods
    • Managing Subscriptions
    • Moving Paid Teams to Organizations
  • Data & Security
    • Data Storage and Security
    • User Data Privacy and Security
    • Request Routing and Data Security
    • Secret Scanner
  • Add-ons
    • API Hub
    • Apidog Intellij IDEA Plugin
    • Browser Extension
      • Chrome
      • Microsoft Edge
    • Request Proxy
      • Request Proxy in Web
      • Request Proxy in Shared Docs
      • Request Proxy in Client
  • Account & Preferences
    • Account Settings
    • Generating OpenAPI Access Token
    • Notification
    • Language Settings
    • Hot Keys
    • Network Proxy Configuration
    • Backing Up Data
    • Updating Apidog
    • Deleting Account
    • Experimental Features
  • References
    • API Design-First Approach
    • Apidog OpenAPI Specificaiton Extensions
    • JSONPath
    • XPath
    • Regular Expressions
    • JSON Schema
    • CSV File Format
    • Installing Java Environment
    • Runner Deployment Environment
    • Apidog Markdown Syntax
    • Apidog Swagger Extensions
      • Overview
      • x-apidog-folder
      • x-apidog-status
      • x-apidog-name
      • x-apidog-maintainer
    • Apidog JSON Schema Extensions
      • Overview
      • x-apidog-mock
      • x-apidog-orders
      • x-apidog-enum
  • Apidog Europe
    • Apidog Europe
  • Support Center
  1. Organization Resources

GitHub Enterprise Cloud

Apidog supports connecting to GitHub Enterprise Cloud data residency environments that use a dedicated ghe.com tenant domain, such as:
https://company.ghe.com
With this integration, your organization can connect Apidog to repositories hosted on GitHub Enterprise Cloud data residency, then import OpenAPI files, create Git connections, and back up API specifications to your enterprise GitHub repositories.
GitHub Enterprise Cloud data residency is available on the Enterprise plan.

What is supported#

This integration supports GitHub Enterprise Cloud data residency SaaS tenants using a *.ghe.com domain.

Supported examples#

https://company.ghe.com
https://team-73.ghe.com

Not supported#

http://company.ghe.com
https://github.company.com
https://sub.company.ghe.com
https://company.ghe.com/custom-path
This feature is designed for GitHub Enterprise Cloud data residency. It does not support self-hosted GitHub Enterprise Server or arbitrary custom GitHub domains.

Prerequisites#

Before connecting Apidog to GitHub Enterprise Cloud data residency, make sure you have:
1.
An Apidog organization with access to this feature.
2.
Organization administrator permission in Apidog.
3.
A GitHub Enterprise Cloud data residency tenant, for example:
https://company.ghe.com
4.
Permission to create an OAuth App on your GitHub Enterprise Cloud tenant.
5.
Access to the GitHub organizations, repositories, and branches you want to connect.

Create an OAuth App in GitHub Enterprise Cloud#

First, create an OAuth App on your GitHub Enterprise Cloud tenant.
1.
Sign in to your GitHub Enterprise Cloud data residency site, for example:
https://company.ghe.com
2.
Go to the OAuth Apps settings page.
image.png
3.
Create a new OAuth App.
4.
Enter the application name.
5.
Enter the homepage URL: https://apidog.com.
6.
Enter the authorization callback URL:
https://api.apidog.com/passport/github/callback
image.png
7.
Register the OAuth App.
8.
Copy the Client ID.
9.
Generate and copy the Client Secret.
image.png
You will need the Client ID and Client Secret when configuring the integration in Apidog.

Configure GitHub Enterprise Cloud in Apidog#

Only organization administrators can configure GitHub Enterprise Cloud data residency settings.
1.
Open your Apidog organization.
2.
Go to Organization Settings.
3.
Open GitHub Integration.
4.
Find GitHub Enterprise Cloud Data Residency.
GitHub Enterprise Cloud Data Residency entry
5.
Click Configure.
6.
Enter the GitHub Enterprise Cloud host URL, for example:
https://company.ghe.com
7.
Select OAuth App as the authentication method.
8.
Enter the OAuth App Client ID.
9.
Enter the OAuth App Client Secret.
10.
Click Save.
GitHub Enterprise Cloud configuration dialog
After the settings are saved, Apidog will show the configured host URL. For security reasons, the Client Secret is not displayed again.

Connect to a GitHub Enterprise Cloud repository#

After your organization administrator has configured GitHub Enterprise Cloud data residency, users with Git connection permission can connect repositories.
1.
Open a project in Apidog.
2.
Go to the Git connection or Git import workflow.
3.
Select GitHub Enterprise Cloud.
image.png
4.
Apidog opens the authorization page on your configured ghe.com tenant.
5.
Sign in and authorize Apidog.
6.
Select the GitHub organization.
7.
Select the repository.
8.
Select the branch if required.
9.
Complete the connection.
image.png
image.png
After the connection is created, Apidog can use the selected repository for supported Git workflows.

Import OpenAPI from GitHub Enterprise Cloud#

You can import OpenAPI files from a connected GitHub Enterprise Cloud repository.
1.
Start an import workflow in the connected Apidog project.
2.
Choose OpenAPI/Swagger.
3.
Select Git Repository.
4.
Select the organization, repository, branch, and file.
5.
Click on Continue.
6.
Select the target Module to import into or create a new one.
7.
Complete the Import.
image.png
Apidog will read the selected OpenAPI file from your GitHub Enterprise Cloud repository and import it into the project.

Back up OpenAPI to GitHub Enterprise Cloud#

You can also back up or synchronize OpenAPI content from Apidog to a GitHub Enterprise Cloud repository.
1.
Open the relevant project or API specification.
2.
Go to the Git backup or synchronization settings.
3.
Select GitHub Enterprise Cloud.
4.
Choose the connected organization, repository, and branch.
5.
Configure the target file path if required.
6.
Save or start the backup.
Apidog will write the OpenAPI content to the selected repository according to your configuration.

Update the GitHub Enterprise Cloud settings#

Organization administrators can update the configured host, Client ID, or Client Secret.
1.
Go to Organization Settings.
2.
Open GitHub Integration.
3.
Find the GitHub Enterprise Cloud data residency settings.
4.
Click Edit.
5.
Update the host URL or Client ID if needed.
6.
To rotate the Client Secret, enter a new Client Secret.
7.
Save the changes.
If you leave the Client Secret field empty while editing, Apidog keeps the existing Client Secret.
image.png

Clear the settings#

Organization administrators can clear the GitHub Enterprise Cloud data residency settings.
1.
Go to Organization Settings.
2.
Open GitHub Integration.
3.
Find the GitHub Enterprise Cloud data residency settings.
4.
Click Clear settings.
5.
Confirm the action.
After the settings are cleared, users in the organization can no longer create new GitHub Enterprise Cloud connections until the integration is configured again.
Existing connections may require reconfiguration or reauthorization depending on their token status and your organization settings.

OAuth scopes#

When authorizing Apidog, GitHub Enterprise Cloud may show the permissions requested by the OAuth App.
Apidog uses these permissions to:
Read the organizations available to the authorized user.
Read repositories and branches.
Import OpenAPI files from repositories.
Back up or synchronize OpenAPI content to repositories.
Manage repository hooks when required by Git synchronization workflows.
The authorization page is displayed by your own GitHub Enterprise Cloud tenant, not by standard github.com.

Security notes#

Apidog handles GitHub Enterprise Cloud credentials and tokens securely.
The Client Secret is not displayed after configuration.
The Client Secret is not prefilled when editing settings.
Users cannot view the Client Secret from the organization settings page.
Only organization administrators can configure or clear the integration.
Project-level Git connection permissions are still required to create or update Git connections.
GitHub Enterprise Cloud authorization is performed through your configured ghe.com tenant.

Troubleshooting#

The GitHub Enterprise Cloud option is not visible
Possible causes:
Your organization does not have access to this feature.
GitHub Enterprise Cloud data residency has not been configured by an organization administrator.
You are not in the organization where the integration was configured.
Ask your organization administrator to check the GitHub integration settings.
The host URL is invalid
Authorization opens the wrong site
OAuth authorization fails
No organizations or repositories are shown
Backup or synchronization fails
Modified at 2026-08-14 10:45:26
Previous
Self-Hosted Runner
Next
Overview
Built with