hey i'm cameron mckenzie at cameron mcnz on twitter and i wanted to talk to you about doing a
full studio deployment of an application it's only a hello world app but a full deployment
of an application to uipath orchestrator where we not only configure everything in orchestrator but
actually get orchestrator to run the application on our local machines this is uipath orchestrator
in the cloud i just registered so nothing set up here it's a fresh instance this is uipath studio
with a nice little hello world application built inside of it which does nothing more
when you run it other than say hello world and i would like to take this application
and push it up to uipath orchestrator now the way you do that if you've just registered for
uipath orchestrator you need to create an orchestrator service and so there's this
create new button which i'm going to click i use the add tenant option and then
i provide a name like insight service and this creates the orchestrator service for me
i accept the generous number of run times that the trial edition provides and when the service is set
up i click on this link that says orchestrator and it takes me into a new window now to quickly set
up a robot and run your project from orchestrator what you need to do is you need to change from the
modern folder to the default classic folder setup that's the first thing you want to do if you don't
do that some of the options won't be available to you the next thing you do is go down to robots
and in robots you click the option to create a standard robot now you need to provide a machine
name the machine name is important i'm going to go to my command prompt here and type in who am i and
you'll see that it says i'm think station visitor that's because the name of my computer is think
station and i'm logged in as a user named visitor you need to name the machine exactly the same as
your computer name that you actually want to run the process on so that has to be think station
now it says you know what you're supposed to configure machines in a separate task
and there's no machine called think station configured or provisioned would you like uipath
orchestrator to do that automatically for you and so i click this button here that says provision
it for me and that just makes sense you want the tool to manage and set that up for you you can do
it in a separate step but it's not necessary you need to provide a name for your robot i'll call
it insights robot should provide a description for your robot as well and the type of robot is going
to be unattended i'm creating an unattended robot an unattended robot needs to have the domain name
and the username provided again that comes from the who am i command on the command prompt that
says the machine and name is think station visitor and you actually have to provide your password for
that machine that's the actual machine that you log into your computer with it's not the uipath
online password it's your computer password but when all that's done you can click create
that creates the robot for you it does need to be associated with an environment
now notice this environment link at the top the contrast isn't really high and people often forget
about this but after creating a robot you have to click on this button and create an environment and
i'll call it the insights environment and when you create it it says do you want to associate
a robot with this environment and i will say yes i absolutely do i'll click update and now i've
associated my robot with that environment and also a machine notice think station
here has been created automatically for me there's also a default one in there which i'm going to
garbage collect i don't like it getting in there and messing things up i also like to go in here
and just take a look at this installation and make sure that i've got one unattended run time
i might even increase the number of testing run times as well that that's not necessary but you
want to make sure that you've got a license for the unattended runtime that you're going to run
now the next step is connecting my local machine in which i've got uipath studio with
uh uipath orchestrator in the cloud and that means starting the uipath assistant and so uipath
assistant is installed alongside uipath studio if you installed the uipath studio pro trial
edition in the same folder that uipath studio is installed in you'll see the uipath assistant
i'm going to click on that i'll click on the cog wheel and from the cog wheel you can see
orchestrator settings and inside orchestrator settings you'll notice that it asks for a url
and a machine key the url is just everything preceding orchestrator underscore in the url
of your uipath orchestrator so i'm going to copy that and move that in as the url
now the machine key comes from this copy machine keyed link over here on your machine
and so again i've got a machine it's got the same name as my local machine it's got this
copy machine key to clipboard option i do i then paste it in here as the machine key and i connect
in just a moment it indicates that i'm connected and that i do have a license
and with that done i can come to uipath studio and i can click on this publish button now be careful
don't click the drop down underneath the publish button it'll be grayed out it might confuse you
click right on the heart of that publish button it'll say it'll try to publish uipath hello world
and it's going to publish it to the orchestrator that you've just configured with uipath assistant
i'll click publish it says it was published i'll go back to uipath orchestrator i'll
click on packages and you can see that the uipath hello world application is now deployed from here
what i want to do is actually want to run that process so i'm going to come over to processes
from here i'm going to add a new process and the process is going to be based on
the package i just pushed up i'm going to name it hello world process i'll put in
a little description as well and then i'll click create and this now creates the process
with the process created i can now run it so i'll click the play button here it's going to
say okay we want to execute your robot where do you want to run it where do you want to run
this process we want to run it on the insights robot it is available i will now click start
the command is now sent and notice hello world runs and that hello world is running on my local
machine so from the cloud i've actually installed a robot where anytime i start it from the cloud
it's actually going to run on my local machine and there you go that's how you can push
one of your projects from uipath up to the cloud and there you go that's everything
you need to know about studio deployment of your applications to uipath orchestrator if
you enjoyed this tutorial why don't you follow me on twitter or head over to theserverside.com
that's even better i'm the interim chief over there we got all sorts of great tutorials and
articles about enterprise software development and hey why not even subscribe on youtube