How to get Gafana Agent metrics

Hello
I am pretty new to the exiting Grafana world, and I installed the Grafana Agent. Now I do not understand how to I get the Grafana Agent metrics. I want to get them the same way as I got them from the node exporter in Prometheus:

  • job_name: “windows”
    static_configs:
    • targets: [“xxxxxxxxxx:2021”]

Could anybody push me in to the right direction?