How to add monitoring using CLI or API?

Hello,
I’ve imported a cluster and now I see link to installing monitoring on the cluster.

As far as I guess, the link in fact runs kubectl apply -f some.yaml to set up all that monitoring.

How can I install the monitoring using API/CLI, or where can I download that yaml? The goal is to add that in fully automatic way in a deployment pipeline.

Thank you.