Skip to main content

This version of GitHub Enterprise Server was discontinued on 2024-01-04. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Writing code for a GitHub App

Learn about using the GitHub Enterprise Server API with your app, continuous integration, and how to build with apps.

About writing code for a GitHub App

You need to write code to add functionality to your GitHub App.

Quickstart for building GitHub Apps

Quickly build a GitHub App that comments on pull requests.

Building a GitHub App that responds to webhook events

Learn how to build a GitHub App that makes an API request in response to a webhook event.

Building a "Login with GitHub" button with a GitHub App

Follow this tutorial to write Ruby code to generate a user access token via the web application flow for your GitHub App.

Building a CLI with a GitHub App

Follow this tutorial to write a CLI in Ruby that generates a user access token for a GitHub App via the device flow.

Building CI checks with a GitHub App

Build a continuous integration server to run tests using a GitHub App and checks.