HOW TO PROGRAM ATMEGA328P AU USING ARDUINO UNO

I have uploaded bootloader using a arduino nano to the chip. i don't have a usb to serial converter so i tried to upload the code using arduino uno but i think the connections are wrong dos any one know the correct connections.?