Basic auth in iframe

Hello,
I am trying to insert grafana dashboard in my application using an iframe.
is it possible to use basic auth to release this?

Your problem could be solved?