NIE EXPERTS SPAIN

Making Changes — Maintainer Guide

System Documentation · Node Agency

09 · Making changes after handoff (via Bento / an AI assistant)

How to connect an MCP-capable AI assistant ("Bento") to the NIE systems so you can safely make changes after handoff — edit the automation flows, the website code, the database, and the CRM. Written tool-generically: the URLs/keys below apply whatever the assistant; the exact "add a connector" screen is Bento-specific.

What you connect (and what it lets you change)

System Connect via Lets you
n8n (automation flows W01–W22) n8n MCP list / read / edit / validate / deploy workflows
Website code GitHub repo change checkout, emails, affiliate, pages
Supabase (database) Supabase MCP or a PAT read schema, run SQL, add migrations
Notion (CRM) Notion integration read / update the orders board

1. n8n — the automation flows

{
  "mcpServers": {
    "n8n-mcp": {
      "command": "npx",
      "args": ["n8n-mcp"],
      "env": {
        "N8N_API_URL": "https://n8n.nieexpertsspain.com",
        "N8N_API_KEY": "<your n8n API key>"
      }
    }
  }
}

2. Website code — the GitHub repo

3. Supabase — the database

4. Notion — the CRM


The safe change workflow (always)

  1. Stay in test mode until a deliberate go-live. The whole system keys off the Stripe sk_test_/sk_live_ prefix — see 07-go-live-checklist.md. Don't touch live Stripe keys for routine changes.
  2. Code: branch → change → PR → merge to main → auto-deploy → verify. Small, reviewable commits.
  3. n8n: validate + test a flow before activating; snapshot before editing a live one.
  4. DB: never edit data blindly; schema changes as migrations.
  5. Secrets: generate/rotate at the source (provider dashboard) and set them in Vercel/n8n env — never in git or chat.
  6. When unsure what a piece does, read the matching doc in this set first (0008, AUDIT-FINDINGS).

Where to generate each credential

Credential Where
n8n API key n8n → Settings → n8n API
GitHub access GitHub org nieexpertsspain (connector or PAT, repo scope)
Supabase PAT supabase.com/dashboard/account/tokens
Notion token notion.so/my-integrations (then share the DB)
Vercel env vars Vercel → project nie-experts-site → Settings → Environment Variables

Guardrails recap