- Copy the environment template:
cd backend
cp .env.example .env-
Add your Google API key to
backend/.env:- Get your API key from: https://aistudio.google.com/app/apikey
- Click "Create API Key"
- Copy the key
-
The .env file should look like:
GOOGLE_API_KEY=AIzaSyAC01g1nY4O0ZtPnu-qdKY7nH_1FkhBbXE
DEBUG=True
- Restart the backend server to load the new environment variables:
cd backend
uvicorn app.main:app --reload- β AI Career Recommendations (Universal Career Advisor)
- β Cold Email Generation (Professor Research feature)
- β Any future AI-powered features
- β
.envfile is in.gitignore- your key won't be committed - β Never share your API key
- β
Use
.env.exampleas a template for team members
- Go to: https://aistudio.google.com/app/apikey
- Sign in with your Google account
- Click "Create API Key"
- Choose "Create API key in new project" (or use existing project)
- Copy the key and paste it into
backend/.env
Note: Google Gemini API has a generous free tier!