How to communicate between UMG and Blueprint?

Hi guys,
I was having a problem and I figured out that it could be solved by communicating between the blueprint and UMG, but how can one do so?
If Event Dispatcher is a way, the I have absolutely no idea how to use it so some direction would be really helpful. Any other way would also be very helpful!

Thanks

When you create a widget, you can save it as a reference and you can call events that are inside the widget.

your widget blueprint can expose variables on spawn.
Simply save your blueprint as a reference there.
The same works in the opposite: You can save your widget within your blueprint as a reference.