The agent can be self-hosted on a server/cloud platform of your choice. Make sure you have a publicly accessible URL or IP that will be used to access the agent. If you just have an IP you can use http://<PUBLIC_IP>:<PORT> where <PORT> is 8888 by default.
The following guides are also available for specific platforms: