Snake spline animation

Hello,

I am pretty new to animation and/or rigging in Unreal. I have a snake that needs animating, nothing fancy, it’d be enough to make it go through a spline? I know how to rig the snake and how to apply a control rig but, how do I make the whole body follow the spline?

Many thanks