Jupyterlab widget

Hi

Does anybody know how to add the plotly widget when creating your own notebook app, with the components provided by jupyter, like here: jupyterlab/examples/app/index.js at main 路 jupyterlab/jupyterlab 路 GitHub ?