Initialize cloud client in CLI script