GCS Centros Estratégicos is a standard Next.js 16 application designed to deploy on Vercel. It includes Vercel Analytics out of the box — enabled automatically in production with zero configuration — and can be embedded as an iframe in any CMS, including WordPress/DIVI, making it straightforward to surface the virtual office inside an existing corporate website.Documentation 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.
Deploy to Vercel
The fastest path to production is a direct import from GitHub into Vercel. The entire process takes under five minutes once your environment variables are ready.Push the repository to GitHub
The source code lives at github.com/gcsconsultores/centros-estrategicos-gcs. If you are working on a fork, push your branch before importing.
Import the repository into Vercel
Go to vercel.com/new and click Import next to the
centros-estrategicos-gcs repository.Verify the framework preset
Vercel auto-detects Next.js and pre-fills the build and output settings. No manual changes are needed here.
Add all required environment variables
Before clicking Deploy, expand the Environment Variables section and add every variable listed in the Environment Variables reference. Skipping this step will cause the build to succeed but Sally’s chat and Microsoft 365 integrations will not work in production.
Click Deploy
Vercel builds the project with
next build and publishes it. The first build typically completes in two to three minutes.Build Configuration
The project ships with four npm scripts that cover the full development and production lifecycle.next build automatically on every push to the production branch. next start serves the optimised production build when self-hosting. No special vercel.json or custom build configuration is required — the defaults in next.config.mjs are sufficient for a Vercel deployment.
next.config.mjs sets typescript.ignoreBuildErrors: true and images.unoptimized: true. This means TypeScript errors will not block CI builds and images are served as-is without Vercel’s Image Optimisation API. Both settings can be tightened once the codebase reaches production stability.Vercel Analytics
@vercel/analytics (v1.6.1) is installed as a production dependency and wired into the root layout. It loads only when NODE_ENV equals production, so local development and preview builds are never polluted with analytics traffic.
Custom Domain
Open Vercel project settings
In your Vercel dashboard, navigate to the project and click Settings → Domains.
Add your domain
Type in your desired domain — for example,
oficina.consultoresgcs.com — and click Add.Update DNS records
Vercel displays a
CNAME or A record value. Log in to your DNS provider and add the record exactly as shown.WordPress / DIVI Embedding
The virtual office is designed to run inside an<iframe>, making it easy to embed on any WordPress page or DIVI layout without modifying the Next.js app.
Add the following snippet to a DIVI Code Module or a WordPress Custom HTML block on the page where you want the office to appear:
Production Checklist
Work through each item before announcing the virtual office to clients.- ✅ All environment variables set in the Vercel dashboard
- ✅ Azure AD app registration created with the correct Microsoft Graph API permissions
- ✅ SharePoint list created with all required columns for lead storage
- ✅
DEFAULT_ORGANIZER_EMAILset to a licensed Microsoft 365 user with Teams meeting creation rights - ✅ Custom domain configured and SSL certificate issued (if applicable)
- ✅ Test lead capture: submit a contact form and verify the item appears in the SharePoint list
- ✅ Test meeting creation: schedule a meeting through the Sala Ejecutiva and verify the Teams join URL is real
- ✅ Test Sally chat: open the chat panel and verify streaming responses arrive from Gemini