Agent
Last updated
Last updated
Most ERPs do not have open and complete APIs that allow these software applications to be integrated with other applications and solutions. As an alternative, most ERP vendors allow or tolerate data-level integration. In this type of integration, an external agent, typically a service installed on the same machine as the database, has access to the database and can execute queries on tables or views within the system.
Based on this concept, we created "Agent", a secure extension of the Skyone Studio platform that can be installed in On Premises environments, using secure communication mechanisms. When used, the "Agent" is a passive component, only executing requests sent by external software or automated on the platform.
General characteristics of the "Agent":
Connect locally to a database or REST resource
Support for multiple database types
Restful support
Processing requests coming from any Skyone Studio Integration, with different users and permissions
Connecting to Skyone Studio and keeping a communication channel open to receive calls immediately
Receiving "RPC like" calls from Skyone Studio, which are mapped into actions in the database or into REST calls
Responding asynchronously to Skyone Studio calls
Automatically restarting itself if the computer on which it is installed is restarted, without the need to re-enter authentication data.
The minimum requirements for the Agent:
Disk: 1GB free
Memory: 512MB
CPU: 1 core 1.5GHz
To download and install "Agente" :
Click on "Terminals" and then click on "Download Agent".
Note that there are three download options: Windows, Linux and Docker. Choose the most suitable option and click on "Download".
Follow the instructions according to your operating system:
For the Windows operating system:
On the screen that appears when you run the application, click on "Next". Wait for the installation to finish.
Once the installation has been successful, click on the "Launch application" option and then on the "Finish" button to complete the installation.
The Agent will start up and you will be presented with some steps for configuring it. Click on "Next".
Enter your Skyone Data access credentials and click "Next".
Select the organization (workspace) you want to use the "Agent" for and enter a name and location for it.
Done! Your "Agent" is configured and ready to be used in Windows environments. Click on "Finish" to end the configuration procedure.
Follow the instructions to configure your "Agent" according to your operating system:
When you click on the "Agent" in Windows, Settings is the first tab to appear in the window, as shown in the image below:
These include:
Integration service status: it is possible to Start, Stop and Restart the integration service. When it is stopped, it is not possible to carry out operations on the platform involving accounts connected to the registered "Terminal".
Internet connection test: identifies whether the "Agent" is connected to the internet.
Server connection: identifies whether the "Agent" is connected to plataform's servers.
Concurrency process limit: allows the capacity for parallel processing to be set between the range of 1 and 100. The default value is 50. The default value is 50. After making any changes, click "Apply". After that, confirm the restart of the "Agent" services by clicking "Yes", so that the new settings are activated.
Allow untrusted SSL certificates in REST/SOAP requests: by activating this option, the "Agent" will allow communication between systems, even if the SSL certificate is not considered secure by conventional standards. By sliding the button, a window will appear for you to confirm the restart of the "Agent" services and the new settings will be activated.
When either of the two services (integration or server) is working, the colored icon will be green. If there is a problem with the connection, it will turn red. If the "Agent" is waiting to connect to one of the services, the icon will turn gray.
Once the "Agent" has been registered, it will soon appear in the "Terminals" tab.
It is possible to close the Agent window without compromising the use of Skyone Studio. However, the computer must be powered on for communication to take place.
Windows:
There is a read-only Logs tab, which shows all the Agent's logs. These logs will be updated as new events occur.
Linus e Docker
You can access the logs folder from the directory where the application is running.
Example: cat /logs/log20231206.txt
Agent Registration: Possible Errors
The following errors are possible in the return of the registration request:
Agent already configured on host
The plataform has identified that there is an "Agent" previously configured on the workstation.
You can either abort the installation or, if you are so authorized, you can enter the plataform panel and delete the "Terminal" associated with the old "Agent". Doing that allows you to retry the operation.
If you do not have permission to delete the "Terminal", you might be trying to install the "Agent" in the wrong workspace.
Note: the same "Agent" can be used by several Integrations; therefore, there is no need for multiple installations.
Agent name already exists
The plataform has identified that there is already an "Agent"with the same name available in the workspace.
It is possible that this happened because you want to move the "Agent" from one workstation to another, without losing all the work already done in the Integrations that point to the Agent Terminal. In this case, you must install the Agent on the new station and use the same name to replace the previous one. Therefore, Skyone Data alerts you that the previous Agent with the same name will be deactivated and replaced by the new one and also asks for your confirmation to proceed with this change.
Control channel is not configured
It only appears while the "Agent" is being configured, before its data is entered, and it means that the "Agent" has not yet been configured. There no action required.
For Docker, first make sure you have Docker installed on your machine. If not, follow the procedure .
Check all the configuration options below in the Docker tab under .
Find out more about the .