Hub Link

Although EasyMorph Desktop can be used in isolation, when combined with EasyMorph Hub it allows us to collaborate with others in many ways, such as:

  • Automate workflow execution - publish projects to the Hub and automate them running on a schedule or other event.
  • Share projects - open projects from and save projects to the Hub to collaborate with other EasyMorph Desktop users.
  • Data catalog - Create and manage a common data catalog allowing others to access data assets as needed.
  • Connectors - Store connectors in a shared repository.
  • Licensing - Lease a license from the Hub.

We refer to linking the two as creating a Hub Link. Once we set up the link, EasyMorph Desktop will reconnect to Hub each time it starts.

The Hub Link can be configured from the Home tab of EasyMorph Desktop. Click on Link to Hub in the top right corner to open the Hub Link dialog.

Link to Hub

To configure the Hub link we need to provide the server name or IP address for the Hub as well as the port that Hub is operating on (the default port is 6330). Your EasyMorph Hub administrator will be able to provide these details.

Configure Hub link

We can then click on Connect to Hub. Assuming our EasyMorph Hub requires authentication, we will be prompted to enter the relevant authentication information. Again, your EasyMorph Hub administrator will be able to provide the relevant authentication method and details.

Hub link authentication

Once securely connected, we can then select the Hub spaces we wish to be available when working in EasyMorph Desktop. Click on Add more spaces and select a space you wish to be available. You can repeat this step until all desired spaces are listed. Only those spaces available to the authenticated user will be visible.

Note: You can reopen the Hub Link and connect more spaces at any time.

Hub link spaces

Once complete, we can click on the OK button to save the connection information and connect to the Hub.

Switching between Hub spaces

When working in EasyMorph Desktop, we can only connect to a single space at any one time. When connected to an EasyMorph Hub, the Link to Hub option on the Home tab (as seen above) changes to display the currently connected space on the Hub. We can use the drop-down to quickly switch to another space if more than one was defined in the Hub connection.

Switch Hub space

Hint: As well as connecting to multiple spaces within a single EasyMorph Hub, there can be multiple Hub connections configured in the Hub Link. This allows quick switching between, for instance, production and development Hubs. To reopen the Hub link dialog, click on the cog/gear icon to the right of the space drop-down. Use the Open link button in the Hub Link dialog to switch to a previously connected Hub. Or the New link button to connect to a new Hub instance.

Publishing projects to Hub / Opening projects from Hub

Once EasyMorph Desktop is connected to an EasyMorph Hub, we can publish projects to the Hub as well as open existing projects from Hub.

When a Hub Link is configured, to publish the currently open project to Hub, press the Publish to Hub button in the top navigation bar on the Project tab. When the Publish project to Hub dialog opens, select a location on the Hub to store the project. Publishing a project is equivalent to uploading the project to Hub using the Hub's web interface. There is also a Publish to Catalog button to allow you to quickly add the uploaded project as a Hub Explorer Catalog asset.

Publish project to Hub

Opening a project from Hub can be done from the Home tab. When Hub Link is configured, the Open from Hub and Open from Catalog buttons appear next to the regular Open project button.

Open project from Hub

When a project is opened from Hub, a local copy is saved first and is then opened in EasyMorph. When editing the project, it's this local copy that is modified. Saving an edited project doesn't upload it automatically back to Hub. To publish the edited project to Hub, publish its local copy by pressing the Publish to Hub button as described above.

Sending datasets to Hub / Opening datasets from Hub

There are several options for sending datasets to, and receiving them from the Hub.

The result of any action in our workflow can be sent (published) to Hub as an EasyMorph dataset (a .dset file) in just a few clicks. This makes it easy to share data between EasyMorph users. Whilst working in EasyMorph, to send the result of any action in our workflow to Hub, right-click the action and choose Send/save to… from the context menu. In the dialog that appears, select the Publish to Hub option, decide where on the Hub the file should be saved and click on Publish.

Send a dataset to the Hub

To open a dataset from the Hub, click on the Add data button on the top navigation bar and select the Open dataset from Hub option. You can then navigate to the .dset file and the data from it will be imported into EasyMorph.

Open dataset from the hub

Additionally, both the Import dataset (used when adding a Hub dataset as described above) and the Export dataset actions support using a connected EasyMorph Hub as a source/destination. It makes it possible to securely store datasets on EasyMorph Hub (as an alternative to storing data in a database) and fetch them on the fly, when a project is opened. This technique is called "hot-linking datasets". It also makes it easy to share a project with another person. The project will be automatically populated with data as soon as the recipient opens it. Additionally, this is especially useful when the project is published to the Hub and run from there as the hot-linked dataset will of course also be available.

Leasing a license from Hub

If your organization uses EasyMorph Hub with dynamic licensing, you can configure your EasyMorph Desktop to lease a license from the Hub automatically.

Important: To be able to lease a license from the Hub, you must first configure the Hub link as described at the top of this tutorial chapter.

To lease a license from a connected Hub, on the Home tab select Set up license key from the blue bar on the right-hand side. In the dialog that appears, select the option to Lease from EasyMorph Hub.

Leasing a license from the Hub

If the license is successfully leased it will be shown at the top of the blue bar.

EasyMorph Hub command action

The EasyMorph Hub command action allows our workflows to perform many additional operations involving a connected EasyMorph Hub, such as:

  • Run a Hub task, enable/disable them, list all tasks
  • Upload, download, delete, rename and list files and folders
  • List connectors in the Hub space connector repository (see below)

Important: This action doesn't use the Hub Link but instead uses an EasyMorph Hub connector. For more information on how to create a connector to your EasyMorph Hub, see the Connectors and connector repositories tutorial chapter.

Hub-hosted connectors

When a Hub link is configured, it is possible to access the connectors stored in the Hub space connector repository. For more information on this, see the Connector repositories tutorial section later in these tutorials.