There are several options. Just did this not too long ago.
Look for my link in the DIY Mod sticky thread under the General Discussions forum. I'll bump it for you.
Why not just hardwire it? I ran my wiring behind the dash and out through the vents on the dash at the windshield. Did the same with my radar detector.