[{"data":1,"prerenderedAt":1398},["ShallowReactive",2],{"navigation_docs":3,"-guide-ai-connecting":613,"-guide-ai-connecting-surround":1395},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":375,"body":615,"description":691,"extension":1389,"links":1390,"meta":1391,"navigation":1392,"path":376,"seo":1393,"stem":377,"__hash__":1394},"docs\u002F3.guide\u002F7.ai\u002F2.connecting.md",{"type":616,"value":617,"toc":1379},"minimark",[618,635,643,648,676,680,685,742,746,757,948,951,955,965,1249,1256,1321,1327,1345,1348,1351,1355,1365,1369,1375],[619,620,621,622,629,630,634],"p",{},"SHADE offers a small, fixed set of tools over the ",[623,624,628],"a",{"href":625,"rel":626},"https:\u002F\u002Fmodelcontextprotocol.io",[627],"nofollow","Model Context Protocol"," so an AI\nassistant can help write and restructure content. The AI always works as an ",[631,632,633],"strong",{},"AI user",": it edits drafts, a person\nreviews and publishes.",[619,636,637,638,642],{},"Address: ",[639,640,641],"code",{},"https:\u002F\u002Fadmin.example.com\u002Fapi\u002Fmcp"," (Streamable HTTP).",[644,645,647],"h2",{"id":646},"_1-create-an-ai-user-and-a-token","1. Create an AI user and a token",[649,650,651,662],"ol",{},[652,653,654,657,658,661],"li",{},[631,655,656],{},"Users → New user",": name it after the assistant or person using it (e.g. \"Claude – Anna\"),\nrole ",[631,659,660],{},"ai",", no password (AI users cannot sign in to the admin).",[652,663,664,667,668,671,672,675],{},[631,665,666],{},"API tokens → New token",": kind ",[631,669,670],{},"MCP",", \"Acts as user\" = that AI user. Copy the token (",[639,673,674],{},"shd_…","): it is shown\nonce. One token per person or device makes revoking easy.",[644,677,679],{"id":678},"_2-connect-a-client","2. Connect a client",[681,682,684],"h3",{"id":683},"claude-code","Claude Code",[686,687,692],"pre",{"className":688,"code":689,"language":690,"meta":691,"style":691},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","claude mcp add --transport http shade https:\u002F\u002Fadmin.example.com\u002Fapi\u002Fmcp \\\n  --header \"Authorization: Bearer shd_…\"\n","sh","",[639,693,694,726],{"__ignoreMap":691},[695,696,699,703,707,710,713,716,719,722],"span",{"class":697,"line":698},"line",1,[695,700,702],{"class":701},"sBMFI","claude",[695,704,706],{"class":705},"sfazB"," mcp",[695,708,709],{"class":705}," add",[695,711,712],{"class":705}," --transport",[695,714,715],{"class":705}," http",[695,717,718],{"class":705}," shade",[695,720,721],{"class":705}," https:\u002F\u002Fadmin.example.com\u002Fapi\u002Fmcp",[695,723,725],{"class":724},"sTEyZ"," \\\n",[695,727,729,732,736,739],{"class":697,"line":728},2,[695,730,731],{"class":705},"  --header",[695,733,735],{"class":734},"sMK4o"," \"",[695,737,738],{"class":705},"Authorization: Bearer shd_…",[695,740,741],{"class":734},"\"\n",[681,743,745],{"id":744},"claude-desktop","Claude Desktop",[619,747,748,749,752,753,756],{},"Claude Desktop's custom connectors expect OAuth, which SHADE does not provide. Use the ",[639,750,751],{},"mcp-remote","\nbridge in ",[639,754,755],{},"claude_desktop_config.json"," (Settings → Developer → Edit config):",[686,758,762],{"className":759,"code":760,"language":761,"meta":691,"style":691},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"mcpServers\": {\n    \"shade\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\", \"mcp-remote\", \"https:\u002F\u002Fadmin.example.com\u002Fapi\u002Fmcp\",\n        \"--header\", \"Authorization:Bearer ${SHADE_TOKEN}\"\n      ],\n      \"env\": { \"SHADE_TOKEN\": \"shd_…\" }\n    }\n  }\n}\n","json",[639,763,764,769,787,802,826,841,871,890,896,930,936,942],{"__ignoreMap":691},[695,765,766],{"class":697,"line":698},[695,767,768],{"class":734},"{\n",[695,770,771,774,778,781,784],{"class":697,"line":728},[695,772,773],{"class":734},"  \"",[695,775,777],{"class":776},"spNyl","mcpServers",[695,779,780],{"class":734},"\"",[695,782,783],{"class":734},":",[695,785,786],{"class":734}," {\n",[695,788,790,793,796,798,800],{"class":697,"line":789},3,[695,791,792],{"class":734},"    \"",[695,794,795],{"class":701},"shade",[695,797,780],{"class":734},[695,799,783],{"class":734},[695,801,786],{"class":734},[695,803,805,808,812,814,816,818,821,823],{"class":697,"line":804},4,[695,806,807],{"class":734},"      \"",[695,809,811],{"class":810},"sbssI","command",[695,813,780],{"class":734},[695,815,783],{"class":734},[695,817,735],{"class":734},[695,819,820],{"class":705},"npx",[695,822,780],{"class":734},[695,824,825],{"class":734},",\n",[695,827,829,831,834,836,838],{"class":697,"line":828},5,[695,830,807],{"class":734},[695,832,833],{"class":810},"args",[695,835,780],{"class":734},[695,837,783],{"class":734},[695,839,840],{"class":734}," [\n",[695,842,844,847,850,852,855,857,859,861,863,865,867,869],{"class":697,"line":843},6,[695,845,846],{"class":734},"        \"",[695,848,849],{"class":705},"-y",[695,851,780],{"class":734},[695,853,854],{"class":734},",",[695,856,735],{"class":734},[695,858,751],{"class":705},[695,860,780],{"class":734},[695,862,854],{"class":734},[695,864,735],{"class":734},[695,866,641],{"class":705},[695,868,780],{"class":734},[695,870,825],{"class":734},[695,872,874,876,879,881,883,885,888],{"class":697,"line":873},7,[695,875,846],{"class":734},[695,877,878],{"class":705},"--header",[695,880,780],{"class":734},[695,882,854],{"class":734},[695,884,735],{"class":734},[695,886,887],{"class":705},"Authorization:Bearer ${SHADE_TOKEN}",[695,889,741],{"class":734},[695,891,893],{"class":697,"line":892},8,[695,894,895],{"class":734},"      ],\n",[695,897,899,901,904,906,908,911,913,917,919,921,923,925,927],{"class":697,"line":898},9,[695,900,807],{"class":734},[695,902,903],{"class":810},"env",[695,905,780],{"class":734},[695,907,783],{"class":734},[695,909,910],{"class":734}," {",[695,912,735],{"class":734},[695,914,916],{"class":915},"swJcz","SHADE_TOKEN",[695,918,780],{"class":734},[695,920,783],{"class":734},[695,922,735],{"class":734},[695,924,674],{"class":705},[695,926,780],{"class":734},[695,928,929],{"class":734}," }\n",[695,931,933],{"class":697,"line":932},10,[695,934,935],{"class":734},"    }\n",[695,937,939],{"class":697,"line":938},11,[695,940,941],{"class":734},"  }\n",[695,943,945],{"class":697,"line":944},12,[695,946,947],{"class":734},"}\n",[619,949,950],{},"Restart Claude Desktop; \"shade\" appears in the tools menu.",[644,952,954],{"id":953},"_3-what-the-ai-can-and-cant-do","3. What the AI can and can't do",[619,956,957,960,961,964],{},[631,958,959],{},"Can"," (these are the only tools; what each needs is in ",[623,962,365],{"href":963},"\u002Fguide\u002Fai\u002Fassistants#the-mcp-tools","):",[966,967,968,981],"table",{},[969,970,971],"thead",{},[972,973,974,978],"tr",{},[975,976,977],"th",{},"Tool",[975,979,980],{},"What it does",[982,983,984,995,1005,1015,1025,1035,1045,1055,1065,1079,1089,1099,1109,1119,1129,1139,1149,1159,1169,1179,1189,1199,1209,1219,1229,1239],"tbody",{},[972,985,986,992],{},[987,988,989],"td",{},[639,990,991],{},"website_list_pages",[987,993,994],{},"List pages with status",[972,996,997,1002],{},[987,998,999],{},[639,1000,1001],{},"website_get_page",[987,1003,1004],{},"Read a page's draft content, a tree of elements and text (with its untranslated texts in another language)",[972,1006,1007,1012],{},[987,1008,1009],{},[639,1010,1011],{},"website_set_structured_data",[987,1013,1014],{},"Set a page draft's structured data presets",[972,1016,1017,1022],{},[987,1018,1019],{},[639,1020,1021],{},"website_translate_texts",[987,1023,1024],{},"Translate texts of a draft into another language",[972,1026,1027,1032],{},[987,1028,1029],{},[639,1030,1031],{},"list_data_sources",[987,1033,1034],{},"Data sources for List and Cards: names, settings, item fields",[972,1036,1037,1042],{},[987,1038,1039],{},[639,1040,1041],{},"website_get_layout",[987,1043,1044],{},"Read published navigation and footer",[972,1046,1047,1052],{},[987,1048,1049],{},[639,1050,1051],{},"search_media",[987,1053,1054],{},"Find images by filename or alt text",[972,1056,1057,1062],{},[987,1058,1059],{},[639,1060,1061],{},"list_media_without_alt_text",[987,1063,1064],{},"Images missing alt text",[972,1066,1067,1072],{},[987,1068,1069],{},[639,1070,1071],{},"website_create_draft_page",[987,1073,1074,1075,1078],{},"Create a new ",[631,1076,1077],{},"unpublished"," page",[972,1080,1081,1086],{},[987,1082,1083],{},[639,1084,1085],{},"website_add_node",[987,1087,1088],{},"Add an element, a text or a component to a draft",[972,1090,1091,1096],{},[987,1092,1093],{},[639,1094,1095],{},"website_update_node",[987,1097,1098],{},"Change an element, a text or a component in a draft",[972,1100,1101,1106],{},[987,1102,1103],{},[639,1104,1105],{},"website_list_components",[987,1107,1108],{},"Read the component library",[972,1110,1111,1116],{},[987,1112,1113],{},[639,1114,1115],{},"website_list_starters",[987,1117,1118],{},"Read the starters an admin can add to the library",[972,1120,1121,1126],{},[987,1122,1123],{},[639,1124,1125],{},"website_get_site",[987,1127,1128],{},"Read the site's languages and what styles may set",[972,1130,1131,1136],{},[987,1132,1133],{},[639,1134,1135],{},"website_get_styles",[987,1137,1138],{},"Read a page's own styles",[972,1140,1141,1146],{},[987,1142,1143],{},[639,1144,1145],{},"website_set_element_style",[987,1147,1148],{},"Style one element (live when the page is published)",[972,1150,1151,1156],{},[987,1152,1153],{},[639,1154,1155],{},"website_get_animations",[987,1157,1158],{},"Read a page's animations",[972,1160,1161,1166],{},[987,1162,1163],{},[639,1164,1165],{},"website_set_animations",[987,1167,1168],{},"Set a page's animations (live when the page is published)",[972,1170,1171,1176],{},[987,1172,1173],{},[639,1174,1175],{},"website_get_theme",[987,1177,1178],{},"Read the theme's draft and published tokens",[972,1180,1181,1186],{},[987,1182,1183],{},[639,1184,1185],{},"website_save_theme_draft",[987,1187,1188],{},"Change the theme's draft (a person publishes it)",[972,1190,1191,1196],{},[987,1192,1193],{},[639,1194,1195],{},"website_duplicate_node",[987,1197,1198],{},"Copy an element or a text in a draft, or into another page",[972,1200,1201,1206],{},[987,1202,1203],{},[639,1204,1205],{},"website_make_component",[987,1207,1208],{},"Make a library component of elements in a draft",[972,1210,1211,1216],{},[987,1212,1213],{},[639,1214,1215],{},"website_duplicate_page",[987,1217,1218],{},"Copy a page as a new unpublished page",[972,1220,1221,1226],{},[987,1222,1223],{},[639,1224,1225],{},"website_move_node",[987,1227,1228],{},"Move an element or a text within a draft",[972,1230,1231,1236],{},[987,1232,1233],{},[639,1234,1235],{},"website_remove_node_from_draft",[987,1237,1238],{},"Remove an element or a text from a draft (history keeps it)",[972,1240,1241,1246],{},[987,1242,1243],{},[639,1244,1245],{},"set_alt_text",[987,1247,1248],{},"Set an image's alt text (nothing else about the image); images on the live site are left to a person",[619,1250,1251,1253,1254,964],{},[631,1252,429],{}," (only those that allow AI; see ",[623,1255,429],{"href":117},[966,1257,1258,1266],{},[969,1259,1260],{},[972,1261,1262,1264],{},[975,1263,977],{},[975,1265,980],{},[982,1267,1268,1278,1288,1298,1311],{},[972,1269,1270,1275],{},[987,1271,1272],{},[639,1273,1274],{},"list_collections",[987,1276,1277],{},"Content types available to the AI, with their fields",[972,1279,1280,1285],{},[987,1281,1282],{},[639,1283,1284],{},"list_entries",[987,1286,1287],{},"Entries of a collection (with filters)",[972,1289,1290,1295],{},[987,1291,1292],{},[639,1293,1294],{},"get_entry",[987,1296,1297],{},"One entry with its current version",[972,1299,1300,1305],{},[987,1301,1302],{},[639,1303,1304],{},"create_draft_entry",[987,1306,1307,1308,1310],{},"A new ",[631,1309,1077],{}," entry",[972,1312,1313,1318],{},[987,1314,1315],{},[639,1316,1317],{},"update_draft_entry",[987,1319,1320],{},"A new draft version of an entry (published version untouched)",[619,1322,1323,1326],{},[631,1324,1325],{},"Can't",", by design: no tool exists for it and the AI role lacks the permission:",[1328,1329,1330,1333,1336,1339,1342],"ul",{},[652,1331,1332],{},"publish or unpublish anything, or trigger a rebuild",[652,1334,1335],{},"delete pages or media, upload files",[652,1337,1338],{},"edit navigation, footer or site settings (including the build hook), or publish the theme (it only drafts it)",[652,1340,1341],{},"see or manage users, roles, API tokens or the audit log",[652,1343,1344],{},"change an image's focal point or filename",[619,1346,1347],{},"Every tool call is checked again before it runs, and it needs the AI user's MCP token: the AI user gets nothing any\nother way.",[619,1349,1350],{},"Every AI change is a new version by the AI user, recorded in the audit log as made over MCP. The live site never\nchanges until a person publishes.",[644,1352,1354],{"id":1353},"_4-reviewing-ai-changes","4. Reviewing AI changes",[619,1356,1357,1360,1361,1364],{},[631,1358,1359],{},"AI changes"," in the admin lists every version an AI made. \"Awaiting review\" means it is still the page's latest\ndraft. Open it in the editor, compare with the previous version, then publish, or ",[631,1362,1363],{},"Revert",", which restores the\nprevious version as a new version (nothing is lost).",[644,1366,1368],{"id":1367},"revoking-access","Revoking access",[619,1370,1371,1374],{},[631,1372,1373],{},"API tokens → Revoke"," stops the client immediately. Deactivating the AI user revokes all its access.",[1376,1377,1378],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":691,"searchDepth":728,"depth":728,"links":1380},[1381,1382,1386,1387,1388],{"id":646,"depth":728,"text":647},{"id":678,"depth":728,"text":679,"children":1383},[1384,1385],{"id":683,"depth":789,"text":684},{"id":744,"depth":789,"text":745},{"id":953,"depth":728,"text":954},{"id":1353,"depth":728,"text":1354},{"id":1367,"depth":728,"text":1368},"md",null,{},true,{"title":375,"description":691},"WqSR-kH4c-1fIlA3JahaaFqQ9su7bunEbEpAB7bk13k",[1396,1397],{"title":371,"path":372,"stem":373,"description":691,"children":-1},{"title":385,"path":386,"stem":387,"description":691,"children":-1},1796500150683]