I nterfacing spi adc mcp3204 with pic16f877a

I am trying to interface adc mcp3204(12 bit spi adc) with pic 16f877a using spi protocol. Which registers should I configure? How to initiate the