To do this effectively and automatically you will need to create permissions and most likely a lambda function but the general outline is that you will need to create a version of the analysis that you want to publish as your dashboard and use that as a template. From there you can use APIs to make updates. I would recommend checking out the following: