How to save things in my game instance?

Hey, i have a question how do i save things inside my gameinstance? for example i have a coin system (connected with a database) but i cant figure out how to save the coins when i restart the game it will go back to 0

Well explained here: