Installation
To begin, you need to install the Mintlify GitHub App into the GitHub account where your docs repo resides. Installing a GitHub App requires either organization ownership or admin permissions in a repository. If you lack the necessary permissions, the repository owner will need to approve the request. You can access the installation page by logging into the Mintlify dashboard. For GitHub Apps, you can choose to only give permissions to a single repository. We highly recommend you do so as we only need access to the repository where your docs are hosted.
Permissions
During the installation of our GitHub app, you will be prompted to grant certain permissions:- Read and write access to
checks
,contents
,deployments
,pull requests
, andworkflows
contents
.
When pull requests are created we create a check and preview deployment which is
why we need write access to checks
and deployments
.
Inside the Mintlify web editor, Mintlify works on your behalf to create branches
and pull requests which is why we need write access to pull requests
and
workflows
.
If you are concerned about the write permissions, the GitHub App will only
have access to the repos you give it access to and if you have branch
protections on it cannot push directly to your branches - it abides by your
branch protection rules.