You need to remove the wheel, undo the axle spindle nut with a big ass breaker bar, remove the suspension fork and the lower ball joint. Pull the hub back and pop the axle out of it. They use a screwdriver to pry the axle out of the tranny. Pop new one in and reverse the order of steps.
Oh, I forgot that you need to drain the tranny fluid beforehand.