Skip to main content
Open in Hubv The official GitHub integration allows your bot to interact with your GitHub repositories.

Setup

  • Basic configuration
  • Manual with GitHub App
  • Manual with Personal Access Token (PAT)
You will need:
1
In Botpress Studio, select Explore Hub in the upper-right corner.
2
Search for the GitHub integration, then select Install Integration.
3
In the Configuration menu, select Authorize GitHub.
4
Follow the instructions to connect Botpress to your GitHub account.
When using this configuration mode, a Botpress-managed GitHub App connects to your GitHub organizations and repositories. The app has the necessary permissions to listen to pull request and issue events and to create comments on issues, pull requests, and discussions.If you need more granular control over permissions or prefer to use your own GitHub App, choose one of the manual configuration options instead.

Cards

Here’s a reference for all Cards available with the integration:

Find Target

input
object
output
object

Triggers

Here’s a reference for all Triggers available with the integration:
You can access data returned from any of these Triggers by reading event.payload after the Trigger fires.

Issue opened

Pull Request merged

payload
object

Pull Request opened

Pull Request review submitted

payload
object