Issue with having grafana dashboards public

We have set up a monitoring stack using grafana and prometheus on AWS.
Both of them are present in private subnets. We now have a request to have grafana dashboards public. Making grafana public does not work as the browser client directly calls the prometheus api for loading data in grafana. We do not wish to make prometheus public as it has all the data present. Is there ant way where grafana can make the api call to prometheus instead of the browser client?

How have you configured your Prometheus datasources? For the Access field, are you using Browser mode instead of Server? If you have chosen Server mode, then Grafana will proxy all requests via the Grafana backend.