Set publishing dashboard using config file

I can publish a dashboard to public using UI.
But how can I publish via config file like dashboard.yml or json file or even API?

My demand is when I start hosting the system, the public dashboard is available and I do not need to publish manually.
Thanks!

Hello

This might help

@yosiasz thanks for your reply.

I can set up the GFN that automatically creates data sources from DB and builds the dashboard. The dashboard is available right after I start the GFN. It is OK!

However, I would like to publish the dashboard so that clients can view the dashboard with a fixed link. Currently, I can’t see any document instructing how to make the dashboard public at the starting time.

Could you help me, thanks?