How to Do a magic flip or a kick flip
Start out with your foot on the back of your skateboard where you would flip an ollie. Put the front foot a little bit behind the front vault of the wheels. When you first start, you might want to have your foot back even a little more to make it easier. Pop and slide your foot out as you would with an ollie, however the board will do the flipping motion. Catch your foot on the back and press it back down to the ground. Don't be afraid to land on it and stick it instead of stepping off the side.