This video shows step by step how to add a Widget Blueprint as a component to a Blueprint, and then display it when we get close to it.
https://dev.epicgames.com/community/learning/tutorials/ymql/unreal-engine-how-to-display-a-3d-interaction-message-in-blueprints