Before integrate node and gateway