given in the document PIC18 Configuration Settings Addendum(DS51537E). Given on
ww1.microchip.com/downloads/en/DeviceDoc/MPLAB_C18_Config_Settengs_51537a.pdf
If you are wondering on how exactly to configure the bits this is dependant on the compiler you use. Otherwise go for the MPLAB GUI to get the job done quickly.