first download this chrome extention zip here BardAI-SessionManager.zip
Login your bard ai google account on your browser (Recomended: if youre on android use kiwi browser) and after login tap the "BardAI-SessionManager" extention and copy the json/download the session.json file.
See the "examples/ask.js" for usage.
npm i g-bardai