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

Consider we have two servers one is linux(22.22.22.22) and other is windows(104.55.55.55) 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