Beginner question on how to integrate Grafana dashboard into webapp

Hi!

Hope everyone is doing well and safe. I’m new to Grafana and am trying to integrate Grafana dashboards with InfluxDB into a webapp hosted on an EC2 instance. I have Grafana connected to InfluxDB on my local server and have a dashboard created, but I’m a bit lost as to how to get Grafana working on a webapp. I want to have a database on the EC2 instance and have Grafana pull data from that and display the dashboard on the public IP address. I’ve tried using snapshots from my local dashboard but those are not dynamic. Any help would be greatly appreciated, and I apologize if this question is too simple. If it is, then a link to where I can learn would be amazing.

Thanks in advance!!