📖 How to Create a Self-Hosted GitHub App (original) (raw)


If you are using Bencher Cloud, then you can simply sign up or log inusing the GitHub button.

For Bencher Self-Hosted, you will need to have a Bencher Plus Enterprise plan, create your own GitHub App, and update your console server configuration and API sever configuration.

Create a GitHub App

GitHub App Configuration

Console UI

Set the GITHUB_CLIENT_ID environment variable when you run the bencher-console Docker image. (ex: GITHUB_CLIENT_ID=Iv1.12864abcd1232048) If the Client ID is missing, then the GitHub buttons will not appear in the UI.

API Server

Add the client_id and client_secret to the plus.github section of the server config. If the GitHub section is missing, then the server will fail any GitHub authentication requests.

🐰 Congrats! You have learned how to setup a GitHub App! 🎉

Add Bencher to GitHub Actions ➡

Published: Sat, August 12, 2023 at 4:07:00 PM UTC | Last Updated: Sun, October 13, 2024 at 12:33:00 PM UTC