Learn about using the GitHub API with your app, continuous integration, and how to build with apps.
Quickstart for building GitHub Apps
Quickly build a GitHub App that comments on pull requests.
Setting up your development environment to create a GitHub App
Learn the foundations for extending and building new GitHub Apps.
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.
Using the GitHub API in your app
Learn how to set up your app to listen for events and use the Octokit library to perform REST API operations.
Making authenticated API requests with a GitHub App in a GitHub Actions workflow
You can use an installation access token from a GitHub App to make authenticated API requests in a GitHub Actions workflow. You can also pass the token to a custom action to enable the action to make authenticated API requests.
Creating CI tests with the Checks API
Build a continuous integration server to run tests using a GitHub App and the Checks API.
Migrating OAuth Apps to GitHub Apps
Learn about the advantages of migrating your OAuth App to a GitHub App, and learn how to migrate your OAuth App.