how to fit text into shapes?

Good day, could you please tell me the method of how to enter the text in one of the sides of the cube. So that the text is parallel to the faces of the cube. Also, is there any way to make the text a wave, I only found circular text.