Refer to the official UE tutorial called “Introduction to AI with Blueprints”
It’ll help you with your question and more.