How to use python interactive gadgets in Data Science Experience DSX?

In Jupyter notebook I can use the following to have an interactive gadget:

from ipywidgets import interact
import ipywidgets as widgets
# Very basic function
def f(x):
   return x
# Generate a slider to interact with
interact(f, x=10,);
I found the reason why ipywidgets does not work with DSX in another question (it seems IBM controls the configuration of the notebook server, including the list of enabled notebook extensions).

How can I have a similar interactive gadget using DSX? Is there a neat way that I can get the same result as the above code in DSX?