Implement cloud option when creating client instance