To connect the robot: on the Robot machine, do the following:
-In the system tray, click the UiPath Robot icon. The UiPath Robot window is displayed.
-Click Settings. The Settings window is displayed.
-Type the Robot key from orchestrator and the server URL(https://demo.uipath.com 67)
-Provide the machine name in Orchestrator which is the Current user name of the amchine.
-Click Connect. The Robot is now deployed to Orchestrator and its status changed to Available.
After all these steps, when you clikc on the publish button in studio, it will return you the package version, once you logon to orchestartor you should update the process with recently Published code.