You can apply for the PIN on www.kra.go.ke
Click Here to view the official KRA ONLINE SERTVICVE GUIDE