Cream api how to use