Thank you for accelerating "soon". This is wonderful.
Then paste the code to "Create > Smart Widget > Edit the Code" in the Widget Details. (this flow should be more intuitive...)
You are able to send JSON data to your widget via an API.
It's all just canvas and old Javascript code!