Firstly you have to Download the software needed to
root the device
Install
Samsung Kies
Connect the Gadget to PC through USB
Go to Setting--> Developer option---> Select USB Debugging
open the Root application
Click on Green button named Root
Rooting initiate and Click on green button when rooting completes