Start with a repository
Go to mintlify.com/start and follow the onboarding flow. You can connect a repository you already own or use the repository option offered during onboarding. If you connect an existing repository, make sure it contains—or will contain—your Mintlify project. At minimum, the project needs adocs.json configuration file and a page included in its navigation.
The GitHub account completing this setup must be allowed to install or request the Mintlify GitHub app for the repository. In an organization, an owner may need to approve the installation.
Choose the repository Mintlify can access
During installation, GitHub asks which repositories the Mintlify app can access. Grant access to the documentation repository. You can update that selection later in the GitHub app settings if the repository changes. Mintlify uses the connection to:- Read the documentation source
- Deploy changes pushed to the configured deployment branch
- Create preview deployments for pull requests
- Create branches and pull requests from the web editor
- Report configured checks in GitHub
Confirm the source and deployment
In your Mintlify dashboard, open Git Settings and confirm the organization, repository, and deployment branch. The deployment branch is oftenmain, but use whatever branch your team has configured.
After the first successful build, open the site URL from the dashboard. If the repository is connected but changes don’t deploy, check these three things first:
- The commit reached the configured deployment branch.
- The GitHub app still has access to the repository.
- The latest deployment in the dashboard completed successfully.