Create host via API automatically

Nice, thanks for sharing