Not able to create dashboard for heartbeat 7.2 in kibana through setup command

Not able to create dashboard in kibana through setup command . Is there any other way to create dashboard ?

In heartbeat 6.3 below command was working and giving the below mentioned output

Command:
sudo heartbeat setup

Output : -
Loading dashboards (Kibana must be running and reachable)
Loaded dashboards

But in Heartbeat 7.2 , the same command

Command:
sudo heartbeat setup

Output : -
Index setup finished.

It is not working as it should .

If there is any other way please suggest .

We have removed direct support for dashboards from heartbeat. That command will return an error in 7.3. That it doesn't is a 7.2 bug.

We now recommend favoring the new Uptime app in Kibana.

You can still use the dashboard in 7.x, but you'll need to load the dashboard manually. Visit https://github.com/elastic/uptime-contrib for more info on loading the dashboard.