LogoWidgetbook

Integrating GitHub App with Widgetbook Cloud

A GitHub App is a first-class actor on GitHub, meaning it has its own identity separate from users. GitHub Apps can perform tasks such as sending messages or opening issues, and they can be installed directly on organizations and user accounts and granted access to specific repositories. They offer granular permissions, enhancing security by limiting access to only what's necessary.

To streamline your workflow and improve your overall efficiency, you can integrate GitHub App with Widgetbook Cloud.

Here's a step-by-step guide on how to go about it:

Step 1: Initiate via your Company Profile#

First, navigate to your company's profile on Widgetbook Cloud. This can be done by selecting 'Company' from the navigation rail on your dashboard.

Step 2: Select your Company#

Select the company you want to integrate from the list of available companies with the GitHub App.

Step 3: Start GitHub App Installation Flow#

Now, you're ready to start the GitHub App installation process. This process requires administrative permissions for the repository. If you lack these permissions, you can still follow the flow but you'll request permission instead and the repo admin has to accept the request of "installing" the GitHub app.

Step 4: Choose your Repositories#

During the installation process, you can select the repositories you want to integrate with Widgetbook Cloud. Choose the ones that best fit your needs.

Step 5: Link to a Project#

After selecting the repositories, choose a project that has already been linked to your selected company.

Step 6: Navigate to Settings#

Once your project is linked, navigate to the settings menu. This is where you'll finalize the connection between your repository and Widgetbook Cloud.

Step 7: Connect your Repository#

Under the "Code repository" section in settings, connect and select the repository you want to use. This links your GitHub App and the chosen repository to Widgetbook Cloud.

Step 8: Sync Reviews with Pull Requests#

Widgetbook Cloud reviews will be automatically generated and synchronized with each pull request after completing these steps. This streamlines your review process and helps keep everything organized. Read more about reviews next.

By following this guide, you'll seamlessly integrate your GitHub App with Widgetbook Cloud, enhancing your workflow and productivity.