# Contents

The Daytona JetBrains Gateway Plugin allows you to seamlessly connect to your Daytona workspaces directly from JetBrains Gateway.

This integration enhances your development experience by providing streamlined workspace management, improved team collaboration, direct profile access, and simplified command handling - all within your familiar JetBrains environment.

This guide will walk you through the entire process of installing and setting up the Daytona plugin for JetBrains Gateway, from prerequisites to advanced usage. By the end, you'll be able to leverage the full power of Daytona within your JetBrains workflow.

Prerequisites

Before beginning the installation process, ensure you have the following:

  1. Daytona Access: Either a hosted instance or a self-hosted demo from the Daytona Enterprise Demo GitHub repository.

  2. Daytona Dashboard URL: Obtain this from your Daytona installation.

  3. JetBrains Gateway: Download and install from the official JetBrains Gateway website.

  4. JetBrains IDE License: An active license for your preferred IDE.

The installation process consists of two main parts: installing the plugin package and establishing a connection between your Daytona installation and JetBrains Gateway.

JetBrains Gateway
JetBrains Gateway

Quick Install via JetBrains Gateway

  1. Open JetBrains Gateway:

    • Launch the JetBrains Gateway application on your local machine.

  2. Install Daytona Plugin:

    • Find Daytona on the start screen of the JetBrains Gateway under Install More Provider and click Install next to the Daytona option.

Daytona Plugin Installed in JetBrains Gateway
Daytona Plugin Installed in JetBrains Gateway

Connecting to Daytona

After the installation is complete, you can connect to your Daytona instance.

Create new Daytona profile in JetBrains Gateway Plugin
Create new Daytona profile in JetBrains Gateway Plugin
  1. Click "Create New Profile" in JetBrains Gateway.

  2. Enter a profile name and your Daytona instance URL.

  3. Click "Create" and authenticate in the browser window.

Authenticate Daytona Plugin
Authenticate Daytona Plugin

After establishing the connection, you can access the various features of the Daytona plugin.

Leveraging Daytona Features

Workspace Creation

Note

Configure your Git provider in the Daytona Dashboard under personal settings first (menu under your avatar icon). Note Notenote

Create new workspace in Daytona JetBrains plugin
Create new workspace in Daytona JetBrains plugin
  1. Option A: Via Repository URL:

    • In the Daytona configuration screen of the plugin, start typing the name of your repository or paste a repository URL in the "enter a public repository URL" field.

    • Click "New Workspace".

  2. Option B: Via Dropdown Menu:

    • Click the dropdown menu next to "Repository:".

    • Select the "Samples" option, choose your preferred sample, and then click "New Workspace".

Note

Creating a workspace may take a few seconds. Avoid clicking multiple times to prevent creating duplicate workspaces.

Connecting from Daytona Dashboard

Alternatively you can create and connect the workspace from the Daytona web dashboard and also start the preferred JeBrains IDE.

  1. Access Your Daytona Dashboard:

    • Open your web browser and navigate to your Daytona dashboard URL.

    • Ensure you're on the "Workspaces" tab.

  2. Select a Workspace:

    • Choose a workspace from the list.

    • Click the IDE button next to the workspace name.

    • Optionally you can select different IDE from the dropdown menu.

Note

If you don't have any repositories, you'll need to create a new workspace by clicking "Create" in the "WORKSPACES" tab and creating a repository from your Git provider.

  1. Grant Access to Your Daytona Workspace:

    • Your browser will prompt you to open JetBrains Gateway. Choose "Open JetBrains Gateway".

    • JetBrains Gateway will open and attempt to connect to your workspace. This may take a few minutes.

    • Do not close the "Trying to connect using the link" pop-up window. It will close automatically once the connection is established.

Choose your favourite IDE
Choose your favourite IDE

Workspace Management

  • Checking Workspaces: View your workspaces under "Recent workspaces". A lit circle indicates a started workspace.

  • Pinning Workspaces: Click the pin button to keep important workspaces visible.

  • Opening Workspaces: Click on a workspace name or the "Open" button to launch it in your chosen IDE.

  • Working in a Workspace:

    • Use the Linux terminal within the IDE.

    • Debug your code using the built-in debugger.

    • For web applications, use port forwarding to view live previews.

  • Stopping Workspaces: Click the "..." button and select "Stop".

  • Destroying Workspaces: Click the "..." button and select "Destroy". Note that this action is irreversible.

Profile Management

  • Checking Profiles: Use the dropdown menu next to "Profiles:" to view and switch between profiles.

  • Adding a Profile:

    1. Click "Add profile".

    2. Enter a name and the Base API URL.

    3. Click "New" and follow the authentication process.

  • Editing a Profile: Click the edit button next to the profile dropdown to modify profile details.

  • Deleting a Profile: In the edit menu, select "Delete".

Team Management

  • Switching Teams: Use the dropdown menu next to "Teams:" to switch between different teams.

Troubleshooting

If you encounter issues:

  1. Ensure all prerequisites are met.

  2. Check your internet connection.

  3. Verify that your Daytona installation is running correctly.

  4. Restart JetBrains Gateway and try the connection process again.

  5. If problems persist, consult the Daytona documentation or reach out to support.

Uninstalling the Daytona Plugin

To remove the Daytona plugin:

  1. Open JetBrains Gateway and go to "Manage Providers".

  2. Find "Daytona Gateway" under "/downloaded".

  3. Click the down arrow next to "Disable" and choose "Uninstall".

  4. Confirm the uninstallation and restart JetBrains Gateway.

Manual Installation of the Daytona Gateway Plugin (Optional)

While the automatic installation through JetBrains Gateway suffices for most users, you might need to manually install a specific version of the Daytona plugin.

  1. Download the Daytona Gateway Plugin Package.

  2. Open JetBrains Gateway.

  3. Click the settings button (bottom left) > "Managing Providers".

  4. In the "Plugins" window, click settings > "Install Plugin from Disk".

  5. Select the downloaded .jar file.

  6. Confirm installation.

Conclusion

By following this guide, you should now have successfully installed and configured the Daytona plugin for JetBrains Gateway. This powerful integration allows you to seamlessly manage your Daytona workspaces within your preferred JetBrains environment, enhancing your development workflow and productivity.

Remember to keep both JetBrains Gateway and the Daytona plugin updated to ensure you have access to the latest features and improvements. Happy coding!

Tags::
  • jetbrains
  • installation
  • plugin
  • guide