You don't have to configure the gateway, just tell Home assistant the gateway is there. Did you follow the instructions in the link @BearWithBeard mentioned? Please note the nodes you use have to follow the presentation guide lines, else HA won't detect them automatically. https://www.home-assistant.io/integrations/mysensors/#presentation