There is also a great guide made by z0mbiesrock that you can use to do the same.
This is a Slime Rancher end-game guide that shows how you can keep Gold Slimes in your ranch. If you're sensitive to these kinds of spoilers I advise you to first explore the last zones of the game *** *** SPOILERS: This guide refers to several end-game items and areas.