Installing postgresql for windows 10

What steps should I follow to enable postgresql raw data storage to use in history graph on windows 10?

Have you tried this

After installing postgresql, what steps should be followed to connect the DB to the local blynk server?

Maybe this

This link is connect DB to the local blynk on linnux, what is on windows?