Skip to content

Creating a GitHub App

You must create and correctly set up a GitHub App to allow Codacy to integrate with GitHub.

To create the GitHub App:

  1. If you're using GitHub Cloud, open

    If you're using GitHub Enterprise, open, replacing the HTTP protocol and hostname with the correct values for your GitHub Enterprise instance.

  2. Configure the new GitHub App using the values listed on the table below, replacing with the correct base URL of your Codacy instance.

    Field Value
    GitHub App name Codacy
    Homepage URL
    User authorization callback URL
    Expire user authorization tokens Disabled
    Webhook URL For GitHub Cloud:

    For GitHub Enterprise:
    Repository permissions
    Administration Read & write
    Checks Read & write
    Issues Read & write
    Metadata Read only
    Pull requests Read & write
    Webhooks Read & write
    Commit statuses Read & write
    Organization permissions
    Members Read only
    Webhooks Read & write
    User permissions
    Email addresses Read only
    Git SSH keys Read & write
    Where can this GitHub App be installed? Any account
  3. Scroll to the bottom of the page, click Generate a private key, and save the .pem file containing the private key.

  4. Take note of the following information, as you'll need it to configure Codacy:

    • GitHub App name
    • App ID
    • Client ID
    • Client secret
    • Private key (contents of the .pem file generated in the previous step)
Last update: September 29, 2020