How to setting up a dedicated server in Steam?

Hey guys, I’m newcomer in packaging features. I want know the steps to package a game with dedicated server and put it into Steam. How it works? I have to package a Dedicated Server version of my game and upload it to steam? Then I have to package a Client version of the game and this version will be the downloadable to people? Someone can give me a hand?