How to get Gemini API Key:
Step 1: Go to the Google AI Studio page and register
Step 2: After you are logged in, on the left menu panel click on Get API key and click on Create API Key button.

Step 3: Copy your newly created Gemini API key.
Step 4: Go to Admin Panel, AI Management -> AI Vendor API Keys tab, and enter your Gemini API Key and click save button.
Step 5: Done.