How to automate the deployment of a workflow to knime hub

Folks,

We are moving from Knime server to Knime hub. At present we automate deployment from our Knime dev server to our Knime production server via API calls.

Is this possible with Knime hub apis and is there any materials that shows how this can be done?

Thanks

Mick

Hello,

You should be able to do so via Hub API. Once you have your Hub up and running, you can review the full documentation of the API list by following the directions at [1].

Thank you,
Nickolaus

[1] KNIME Business Hub Admin Guide

1 Like

I am still waiting to get access to the hub. I cannot find any much material online. It would be nice to see some tutorial

Hi @kalimist,

in addition to what @NDekay referred to, your description sounds a lot like our new Workflow Validation could come in handy: A set of workflows and components, that can be pieced together to automatically move (or just unlock) workflows from a dev server/hub/space to production. It heavily uses the new features of Hub like trigger deployments and labels and uses its API under the hood, so yes, moving workflows around on KNIME Hub via API is well possible (and documented on your Hub at api.<your-hub-base-url>/api-doc once it’s available). A similar documentation exists for KNIME Community Hub at api.hub.knime.com/api-doc, although the details might slightly vary.

Depending on your exact automation and how you want to run it, it sounds like it makes sense to use (pieces of) Workflow Validation to migrate the automattion to your Hub. Maybe that’s already the tutorial you are looking for?

Happy to connect in case you need any assistance in figuring out the details! Kind regads,
Lukas