connecting platforms dashboard to db