How can I make this USB-C connector as a host?
You need to use a pin which is called the ''CC pin''
see in the type-c pinout figure below:



since the USB type C connector allows the use of several pins, it enables the device to find out in what role to be in based on the CC Pin. it is pulled up and down via resistors on each termination, enabling the establishment of data roles between the ports.

For further info, check this link:

https://www.silabs.com/community/mcu/8-bit/knowledge-base.entry.html/2016/09/26/what_s_the_role_ofc-kQYe