Skip to main content
GitHub Logo

View your Flagsmith Flags inside GitHub Issues and Pull Requests.

tip

The GitHub integration is currently only supported with our hosted Flagsmith SaaS service.

Integration Setup

You can either set up the integration from the Flagsmith side or from the Github side.

From Flagsmith

  1. In the Integrations Option in the side bar, find the GitHub integration and click on 'Add Integration'.
  2. A window will open asking you to select the organization you belong to.
  3. Select the repositories and save.
  4. Back in the Flagsmith application, click on the 'Manage Integration' button.
  5. Finally, select the repository you wish to link.

From GitHub

  1. In GitHub, add the app from the GitHub Marketplace.
  2. Select your organisation.
  3. Select your repositories where you want install the app.
  4. You will be redirected back to the Flagsmith app to finish the integration setup.
  5. Select your Flagsmith Organisation.
  6. Select the Flagsmith Project you want to associate with the repository where the app was installed to create the Integration.

Adding a Flagsmith Flag to a GitHub issue or pull request

  1. Create or select a Feature Flag.
  2. Go to settings section.
  3. Select your integration.
  4. Select GitHub Issue or GitHub PR.
  5. Select your external resource and save.

Removing the GitHub Integration

  1. From Flagsmith, click 'Integrations', find the GitHub integration and click on 'Manage Integration'.
  2. Click on 'Delete Integration' button, and confirm.
  3. In your GitHub organisation, uninstall the Flagsmith GitHub App.