if the kitten starts to sniff the ground and back into a corner, it probably means they have to go to the bathroom.
pick them up gently, carry them to their litter box and set them down inside. if they actually need to go, they will go
occasionally, just in case, carry them to their box so they remember where it is. don't move it around