GCS Centros Estratégicos uses environment variables to connect to Google Gemini AI and Microsoft 365 services. All variables go inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/gcsconsultores/centros-estrategicos-gcs/llms.txt
Use this file to discover all available pages before exploring further.
.env.local for local development and are never committed to version control. In production (Vercel), set them in the Vercel dashboard under Settings → Environment Variables — the app reads them at build time and at runtime without any additional configuration.
Complete .env.local Template
Copy the block below into a new .env.local file at the root of the project and fill in each value before starting the development server.
Variable Reference
| Variable | Required | Default | Description |
|---|---|---|---|
GOOGLE_GEMINI_API_KEY | Yes | — | Google Gemini API key for Sally’s AI chat |
AZURE_AD_CLIENT_ID | Yes* | — | Azure AD App Registration client ID |
AZURE_AD_CLIENT_SECRET | Yes* | — | Azure AD App Registration client secret |
AZURE_AD_TENANT_ID | Yes* | — | Azure AD tenant ID |
SHAREPOINT_SITE_ID | Yes* | — | SharePoint site ID for lead storage |
SHAREPOINT_LIST_ID | Yes* | — | SharePoint list ID within the site |
DEFAULT_ORGANIZER_EMAIL | Yes* | — | Organizer email for Teams meetings |
Required vs Optional
Not all variables are needed to run the app locally. Here is exactly what breaks — and what degrades gracefully — depending on which variables are present:
GOOGLE_GEMINI_API_KEYis the only variable required for Sally’s chat to work. Without it the AI streaming endpoint will fail immediately.AZURE_AD_CLIENT_ID,AZURE_AD_CLIENT_SECRET, andAZURE_AD_TENANT_IDare all required together for Microsoft Graph authentication. Without them, lead submissions fall back to console logging (storage: 'local') instead of writing to SharePoint.SHAREPOINT_SITE_IDandSHAREPOINT_LIST_IDare required for leads to be stored in the correct SharePoint list. The list must already exist with all required columns before the app first writes to it.DEFAULT_ORGANIZER_EMAILis required for Teams meeting creation. Without it, the meeting scheduling API returns mock join URLs rather than real Teams links.
Vercel Deployment
Once you are ready to deploy, add every variable to the Vercel project before the first production build. Changes to environment variables require a redeploy to take effect.Open your Vercel project dashboard
Navigate to vercel.com and open the project for
centros-estrategicos-gcs.Go to Settings → Environment Variables
In the left sidebar, click Settings, then select Environment Variables from the sub-menu.
Add each variable with its value
For every variable in the template above, enter the Name and Value fields and click Save.
Set the correct scope
Choose Production as the environment. Enable Preview as well if you want full Microsoft 365 integration in preview deployments.
Security
All variables listed here use the standard Next.js server-side convention — noNEXT_PUBLIC_ prefix — which means they are evaluated exclusively on the server and are never included in the JavaScript bundle sent to the browser. GOOGLE_GEMINI_API_KEY and all Azure AD credentials remain server-only at all times.