Getting Started
To use AnyRobot you must go through all of the following steps. In addition, it is recommended to familiarize yourself with.
Last updated
To use AnyRobot you must go through all of the following steps. In addition, it is recommended to familiarize yourself with.
Last updated
to be announced... (2 January 2023) #TBA
You will need a Portal License Key and a Runner License Key. (Trial License Keys are available for both Portals and Runners).
Now that you have your license keys ready, let's first set up a Portal. Portals are "control panels" for managing and monitoring bots and their assigned jobs in real-time.
For convenience, we provide Portals as docker images, so the first step will be to install docker according to the instructions .
Since Portals require services such a databases, we'll use to create them for us.
Create a new directory with the following 2 files: docker-compose.yml
:
and environment.txt
:
Remember to enter your license key (ANYROBOT_PORTAL_LICENSE_KEY
) into .env.docker.prod,
change your administrator password (ADMIN_PASSWORD
) and change the administrator email (ADMIN_FULL_EMAIL
), as you will need it for later steps.
At this point, you should be able to download and launch the containers. Open a terminal and navigate to the directory where docker-compose.yml
and .env.docker.prod
are located and then run:
You should see a login page to which you log in with the email and the password you entered in environment.txt
.
At this stage, you already have a working test portal and can move on to the next step in which you will create a bot.
To create a new bot you need to click the big green "Create" button and then from the drop-down list click the "Bot" item.
At this point, you should see a text box in the middle of the screen that you need to fill in with the bot's name and then click the "Create" button.
At this stage, you should see a "bot secret" which we will need later, but you don't have to save it because you will be able to find it later in the bots tab.
Your bot should already be created so if everything checks out click the "Save" button and move on to the next step in which you will install AnyRobot Runner.
In this step, we will install AnyRobot Runner and connect it to the previously created portal. This is necessary to have a device on which we will perform the work ordered in the portal. This has to be a Windows or macOS computer.
The first step would be to install a package manager if you still don't have one, for Windows this would be chocolatey, and for macOS homebrew.
To do this you need to paste the following command into Powershell or Terminal respectively.
If you use Windows you will also need to install git, which you can do by running.
The next step will be to install Chrome and Chromedriver.
In the next step, we will install Python:
If you encounter a problem with pip installation, you can use instead of command above:
python -m ensurepip
In this step, we will take care of the installation of Ruby:
The final step will be to install imagemagic:
In addition, on Windows, you need to download msys2 and you can do this with the following command:
On macOS, when you launch the application, the first screen you see will inform you of the current status of your granted permissions.
You need to click the buttons one by one which will open the appropriate tab in the settings and grant all the necessary access to the application.
After doing this, the window will close and you can proceed to the next step.
At this stage, you should turn on the applications and fill in the Portal URL
and Bot secret
fields with the parameters you acquired at step Setup Portal
Portal URL - is the address of your portal.
Bot secret - is a field for the bot secret that you created earlier in the portal.
After filling in the above fields, your Runner application should look like this:
After doing so, click Save and the application should disappear after that you can proceed to the next step to run your first job.
We'll start by creating a test.rb
file and then output a simple message there.
So after creating the file, paste the following code and save it.
With the file prepared this way, go to the portal and click create then workflow. Workflow is a task and conditions under which the task will be performed.
On this page, we need to enter a name such as test-workflow-rb, select the bot on which we want to perform this workflow, and in genre select file-based and upload the newly created test.rb
file, the completed form should look roughly like this.
Once done, click Save and after going to the next page, click Save again and you should be taken to the newly created workflow page. From here you should be able to click the green play button which should run the uploaded script on the bot.
The test script is very short so you probably won't even notice when it has executed but you can go into AnyRobot Runner and check the activity monitor where you will notice that the script has executed.
To properly configure sending emails it is recommended to check documentation
You can go now into your browser and visit the address .
If you have encountered any problems it is recommended to check the program's documentation, which for Windows can be found and for macOS .
If you are using Windows before proceeding further you must first download .NET Runtime 5.X from .
To get through this step you will need to download the AnyRobot Runner installation file from and install it on your machine and follow the steps that occur during the installation.
We highly encourage you to check out the sample repository for task-based solutions. You can find them in this or checkout Developing Robots page.