BEFORE YOU START THE PROJECT:
1- To install needed packages, command npm install dotenv @google/generative-ai or just simply npm i 2- Then create a api key with https://makersuite.google.com/app and store the key into a config.env file 3- And congratulations, you are ready to go!