UMG and blueprint communication

Hello

How do I run a blueprint using UMG?

I got a Capture the flag game mode and want to make a team selection screen when joining the server.

Now I’m using trigger boxes to join the teams.

Screenshot of the triggerbox blueprint:

How do I make this work using UMG instead?

No one can answer this?

Please let me know if you need more information…