Associate animations with keys

New to all this, seen a few videos on how to set up one’s first ever primary character, but none addressed this question which I was looking for:

How can I take a soldier I downloaded with its animations from the app store and set it so that, for example, pressing x triggers the crouch animation, w triggers the walk forward animation, shift + r triggers run to the right, etc. ?

this will help you…