How to use text as an object?

UMG is what you want. It can add text and buttons. Give the tutorials a go and read the documentation.