JetBrains Gateway
JetBrains Gateway is currently in Beta · Send feedback.
JetBrains Gateway is your single entry point to all remote development environments when using JetBrains IDE’s. JetBrains Gateway is a compact desktop app that allows you to work remotely with a JetBrains IDE without downloading the full IDE. Gitpod works with JetBrains Gateway via a custom Gitpod JetBrains Gateway plugin.
Using JetBrains Gateway on Desktop with Gitpod, allows you to:
- Create a new Gitpod workspace
- View and open your 20 latest Gitpod workspaces
All without leaving needing to leave your desktop.
JetBrains IDE support
JetBrains Gateway is the underlying technology which enables the Gitpod integration. Support for JetBrains IDEs will be rolled out incrementally. The JetBrains Gateway plugin is a standalone feature, so its release cycle is independent individual JetBrains IDE support.
Getting started
- Install JetBrains Gateway - With the JetBrains Gateway and Gitpod plugin you can create and manage your latest 20 Gitpod workspaces.
- Install the Gitpod plugin - Open JetBrains Gateway and you’ll see the Gitpod logo on the main page. Click “install” to install the Gitpod plugin for JetBrains Gateway.
- Update your Gitpod preferences - Select your preferred JetBrains IDE on the Gitpod preferences page which will set your default IDE for future workspace starts.
- Start (or restart) your workspace - Either start a workspace directly from within the JetBrains Gateway via the Gitpod plugin OR open a new workspace directly in Gitpod where on workspace start you will be prompted to open your preferred JetBrains IDE for that workspace.
How does JetBrains and Gitpod work?
On Gitpod workspace start, a JetBrains IDE is loaded into your workspace according to your preferences. When you start a workspace the JetBrains Gateway application downloads a thin client which then connects to your Gitpod workspace.
Since JetBrains Gateway downloads the thin client for you, you do not need to download, open or modify your JetBrains IDE directly. JetBrains licensing still applies, but is applied to the connecting thin client, not the backend running in your Gitpod workspace.
Setting a JetBrains IDE as a preference
To start a workspace using JetBrains from your browser, you need to first set your preferred JetBrains IDE as your user preference.
Opening a JetBrains IDE from Gitpod
When starting a new workspace from Gitpod in the browser (with a JetBrains IDE set as your preference) you will see a prompt to open JetBrains Gateway. Clicking the prompt will immediately launch JetBrains Gateway and begin downloading the IDE thin client. The downloaded thin client will exactly match the IDE running in your Gitpod workspace.
Updating the Gitpod plugin in JetBrains Gateway
Since Gitpod and JetBrains works via JetBrains Gateway, you do not need to download a JetBrains IDE. Also, you do not need to alter your plugin settings in your JetBrains IDE. All setup and configuration for Gitpod and JetBrains is completed within JetBrains Gateway.
Opening a JetBrains IDE from JetBrains Gateway
You can also start, and connect to Gitpod workspaces directly from JetBrains Gateway. Click Gitpod in the left-hand side of JetBrains Gateway, and paste a source control context URL directly to start a new workspace, or click connect on a running or stopped workspace.
Configuring the JetBrains Gateway Host
By default the JetBrains Gateway Gitpod plugin points to gitpod.io
as the default host for listing, opening and managing Gitpod workspaces.
If you’re using Gitpod Self-Hosted, to update the host:
- Open JetBrains Gateway
- Navigate to “preferences” (OSX) or “settings” (Windows/Linux)
- Search for “Gitpod” (or find it under “tools”)
- Modify the
Gitpod Host
field
Configuring JetBrains Gateway Networking
The following diagram details how the JetBrains Gateway client connects and communicates with Gitpod workspaces, for situations such as configuring corporate networking requirements.
- JetBrains.com - The JetBrains IDE thin client images are downloaded dynamically from JetBrains Gateway to match the exact IDE that is running in Gitpod. Access to jetbrains.com must be granted for an air-gapped Gitpod installation with JetBrains Gateway configuration to work.
- JetBrains Gateway - The JetBrains Gateway client is the component which fetches information about Gitpod workspaces, pulled from the Gitpod API via HTTPS.
- JetBrains Thin Client - The thin client connects to the Gitpod workspace via SSH, routed via the workspace proxy (“ws-proxy”). The SSH server (SSH Gateway) runs in the workspace proxy, not in the workspace directly.