Integrate google assistant to nodemcu esp8266

I am new to the home assistant and I want to integrate google assistant to nodemcu to control switches and use this home assistant cloud service for commercila use.