Our Gitpod plugin adds an “Open in Gitpod” button to Backstage, using the metadata from your project’s catalog entity to construct a Gitpod URL.The Gitpod URL directs to a source control management (SCM) repository. In the root directory of this repository, a .gitpod.yml file is configured to guide Gitpod in setting up the development environment.
Import and use the GitpodButton component in your app, typically where you display information about your services or components. For example, in EntityPage.tsx:
Integrating Gitpod through a metadata link in the catalog file
For a simpler alternative, you can add specific metadata to your Backstage catalog entity file.This approach uses the Gitpod URL scheme to open repositories in Gitpod seamlessly. It does not require installing any plugins or adding explicit UI components to Backstage.