How should I add attacking animations to my character AI?

Here how I found out how to animations to work State Machines | Unreal Engine Documentation