How to create and manage clients