Uploading code to ATMega328P-AU

Hi,

I'm also confused with uploading code to this microcontroller but using the Arduino IDE software.
Is that possible? I am trying to upload it using and ISP programmer (Atmel STK500) but nothing seems to work :frowning:

Thank you in advance!