Programming an AVR microcontroller with multiple SPI channels
Pin diagram for ISP is shown on the page 364 of the datasheet.
You can compare 324PB fuse bits and memory layout with 324P or 324PA and if they are similar(they should be similar) you may program it as 324P or 324PA, but override Avrdude signature check (-F option). However, do that at your own risk.