Clone to your own repository
If you skipped connecting your own Git repository during onboarding, your documentation lives in a private repository owned by the Mintlify organization. To move it to your own account or organization, go to Git Settings in your dashboard. A setup wizard guides you through the process with two options:One-click clone (recommended)
One-click clone (recommended)
The clone option automatically creates a copy of your documentation in your GitHub account.
- Select GitHub as your provider.
- Click Clone.
- Authorize with GitHub when prompted.
- Select the GitHub organization where you want to create the repository.
- Confirm the clone. Mintlify copies your documentation files into a new repository.
- Optionally install the Mintlify GitHub App for automatic deployments.
Manual setup
Manual setup
If you prefer to set up your repository manually:
- Download your documentation as a zip file so that you have a backup of your files.
- Select GitHub as your provider.
- Click Continue setup.
- Authorize with GitHub when prompted.
- Select your organization, repository, and branch.
- Optionally specify a subdirectory if your docs are not at the repository root.
- Save your settings.
Install the GitHub app
You must have organization ownership or administrator permissions in a repository to install the app. If you lack the necessary permissions, the repository owner must approve the installation request.

Permissions
When you install the GitHub App, grant the following permissions. Read permissions:metadata: Basic repository information
checks: Create status checks on pull requestscode: Read file changes when you commit to your docs branchdeployments: Generate preview deployments for pull requestspull requests: Create branches and pull requests from the web editor
The app only accesses repositories that you explicitly grant it access to. If you have branch protection rules enabled, the app can’t push directly to protected branches.
Manage repository access
When installing the GitHub App, you can grant access to all of your repositories or specific ones. Grant access only to your documentation repository and any repositories that you want to provide as context for the agent or workflows. You can modify this selection anytime in your GitHub App settings.Configure docs source
Change the organization, repository, or branch that your documentation builds from in the Git Settings section of your dashboard.GitHub Enterprise with IP allowlists
If your GitHub Enterprise Cloud organization has an IP allowlist enabled, you need to add Mintlify’s egress IP address (54.242.90.151) to your allowlist for the GitHub App to function properly.
Follow GitHub’s documentation to configure your IP allowlist.
Troubleshooting
Deployment not triggering automatically
If pushes to your repository don’t trigger deployments, check the following possible problems.Verify GitHub App installation
Verify GitHub App installation
Check that the correct repository has the app installed.
- Go to GitHub App settings in your dashboard.
- Check that your repository is on the active app installations list.
Check deployment branch
Check deployment branch
Ensure that you’re pushing to the correct branch.
- Go to Git Settings
- Verify the branch in your dashboard matches the branch that you’re pushing to.
GitHub app connection issues
If you encounter problems with the GitHub app, resetting the connection resolves most problems. Common symptoms include the web editor showing GitHub App Installation Required, the dashboard being unable to list your repositories, or GitHub OAuth only requesting thepublic_repo scope so that your private repositories are not selectable.
Complete all four steps in order. Skipping the uninstall or revoke step leaves stale credentials that cause the reinstall to fail silently.
Uninstall the Mintlify app from GitHub.
Go to GitHub App installations, find Mintlify, click Configure, scroll to the bottom, and click Uninstall.
Revoke the Mintlify authorization.
Go to Authorized GitHub Apps, find Mintlify under Authorized GitHub Apps, and click Revoke.
Reinstall the Mintlify app.
In your Mintlify dashboard, go to Git Settings, install the GitHub app, select your GitHub organization or account, and grant access to your docs repository.
Re-authorize your GitHub account.
Go to account settings and click Authorize GitHub account to complete the authorization. This step re-issues the OAuth token with the correct scopes for both public and private repositories.
Editor shows “GitHub App Installation Required”
If the web editor shows GitHub App Installation Required after you opened Git Settings or connected a repository, the dashboard is expecting a GitHub-backed source that is not fully connected.- If you opened Git Settings without selecting a repository or saving, your Mintlify-hosted content is still intact. Complete the GitHub app connection reset to restore access to the editor.
- If you connected a repository, the editor now points at that repository. Reset the connection with the steps above, then reconnect to the correct repository from Git Settings.
Recover the previous Mintlify-hosted content
If you connected the wrong repository (for example, an empty repository) and your original Mintlify-hosted documentation is no longer visible in the editor, the previous content is not automatically restored when you disconnect. Reach out to support with your deployment name and organization ID. Support can share a zip of your previous Mintlify-hosted repository contents so that you can re-upload them or push them to the correct repository. To avoid this situation in the future, download a backup zip from the Git Settings setup wizard before you connect any repository.Feedback add-ons are unavailable
The edit suggestions and raise issues feedback features are only available for public GitHub repositories. If these options are unavailable in your dashboard, check your repository visibility. If your repository is public and you cannot enable the edit suggestions or raise issues options in your dashboard, revalidate your Git settings.Navigate to Git Settings
Go to Git Settings in your dashboard.

