Why is this so hard?
If you're a jumpseater, whether you're sitting in back or the actual, approach the crew, credentials in hand, and politely ask for a ride.
If you're nonrevving or deadheading, board the airplane, take your seat, and offer a friendly 'thanks for the ride' as you deplane.
Does it really need to be more complicated than that?