Add api method for dashboard creation