Arduino Mega with Atmel Studio 6

HI

i try to program an arduino mega 2560 R3 with the atmel studio 6. But I can´t flash the controller with that program. Can you tell me, how I must initialize the controller and which debugger I need to flash the controller without an icp. And how I use the onboard boot loader from the USB.

Best regards