Once you have created your Database, File>Save As> navigate to your Google Drive or One Drive folder and save it there.
I believe keepass opens the last used database by default. So once you have your keepass database, .kdbx, saved to your Google Drive/One Drive folder, open it again from that...