How to create a pistol and musket animation?

I am complete noob in UE4 and I need help with setting up a working gun in UE4. I have made the socket and positioned the gun. Can you show me a tutorial or a guide to creating a working gun with a gun pose animation for the character? I can’t afford the animation packs n the marketplace.