Integrate grafana with loki via linux server and promtail via windows server

Consider we have two servers one is linux( and other is windows( Now we have to integrate both servers in such a way that all logs are fetched by windows server via promtail and then those logs can be shown in linux server loki and after that we can make dashboard through linux server grafana. How to make it possible. What changes newds to be done in their configuration yaml files