You CAN and should keep him gated in the kitchen unless you are monitoring every minute he is not there. Houstraining is very time consuming but the only way to have a well-trained pup. If you don't give him opportunities to fail and reward all positive steps it won't take as long.
There is info on housetraing method we use on my website
www.sylvanyorkies.com
best of luck