Creating a dashoard to insert data into database using frappe erpnext

I want to create a dashboard which sends data to the database. Can anyone help me with how to go about