Installing the agent loader using the React library and a custom subdomain