[{"data":1,"prerenderedAt":1503},["ShallowReactive",2],{"navigation_docs":3,"-guide-people-and-security-api-tokens":613,"-guide-people-and-security-api-tokens-surround":1500},[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":257,"body":615,"description":1451,"extension":1494,"links":1495,"meta":1496,"navigation":1497,"path":258,"seo":1498,"stem":259,"__hash__":1499},"docs\u002F3.guide\u002F4.people-and-security\u002F4.api-tokens.md",{"type":616,"value":617,"toc":1485},"minimark",[618,643,648,651,700,703,746,749,753,882,888,892,899,915,1146,1149,1159,1163,1177,1181,1233,1238,1253,1258,1288,1293,1345,1350,1410,1418,1426,1433,1470,1474],[619,620,621,622,626,627,630,631,634,635,638,639,642],"p",{},"An API token is a secret key that lets a program, rather than a person in a browser, talk to SHADE. The main kinds:\na ",[623,624,625],"strong",{},"build"," token, which the website build uses to fetch published content and to report how each build went; a\n",[623,628,629],{},"read"," token, which only fetches published content (another site or app); an ",[623,632,633],{},"MCP"," token, which connects an AI\nassistant (such as Claude Desktop) as an AI account; a ",[623,636,637],{},"data"," token for other systems; and an ",[623,640,641],{},"automation"," token for\nan admin's own trusted scripts, such as a content import. Every token acts as one team member and can do no more than\nthat team member may. Admins create and revoke tokens on the API tokens screen.",[644,645,647],"h2",{"id":646},"what-users-can-do","What users can do",[619,649,650],{},"Admins:",[652,653,654,658,691,694,697],"ul",{},[655,656,657],"li",{},"See every token of the instance (not only their own): name, kind, the first characters of the token, which team\nmember it acts as, when it was last used and when it expires.",[655,659,660,661,664,665,664,667,664,670,672,673,675,676,678,679,683,684,687,688,690],{},"Create a token with a name, a kind (",[662,663,625],"code",{},", ",[662,666,629],{},[662,668,669],{},"mcp",[662,671,637],{}," or ",[662,674,641],{},"), the team member it acts as and\nan expiry (never, in 30 days, in 90 days, in a year). A ",[623,677,637],{}," token also gets its collections, each ",[680,681,682],"em",{},"Read"," or\n",[680,685,686],{},"Read and write",". An ",[623,689,641],{}," token always acts as the admin who makes it, always expires, and gets the actions\nit may take, chosen from that admin's own.",[655,692,693],{},"Copy the new token's value once, right after creating it. It is never shown again.",[655,695,696],{},"Revoke a token. Whatever uses it stops working immediately.",[655,698,699],{},"See a token's recent calls: when, the method, the route, the status and how long it took, newest first, filtered\nby succeeded (2xx), refused (4xx) or failed (5xx).",[619,701,702],{},"Programs holding a token:",[652,704,705,711,716,727,737],{},[655,706,707,708,710],{},"A ",[623,709,629],{}," token: fetch published content (the site build and the preview), and module features that ask for a\ntoken.",[655,712,707,713,715],{},[623,714,625],{}," token: everything a read token may, plus reporting how a site build went, which the site does after\neach build. The site is set up with one.",[655,717,718,719,721,722,726],{},"An ",[623,720,633],{}," token: connect an AI assistant as an AI account. See ",[723,724,725],"a",{"href":376},"Connecting an AI\nassistant",".",[655,728,707,729,731,732,734,735,726],{},[623,730,637],{}," token: another system (a CRM, a shop, a script) manages the collections it was given:\nlist and read entries, and with ",[680,733,686],{}," also create, change, delete, publish and unpublish them. It acts as\nits team member, within their rights, and reaches nothing else: no pages, media, users or settings. What it does is\nin the audit log like an editor's work. Developers find its details in ",[723,736,494],{"href":495},[655,738,718,739,741,742,745],{},[623,740,641],{}," token: a trusted script does what the admin's own screens do, without a\npassword or session. It acts as the admin who made it, with what that admin may do now ",[623,743,744],{},"and"," only the actions\nchosen for it: a right the admin loses, or an admin who is deactivated or removed, ends it too. It never manages the\nteam, roles, tokens or services, never gives users their roles or changes the security alert rules, never touches\nthe admin's own account (password, two-factor, passkeys, sessions, email, name), never finds or erases a person's\ndata under Privacy, never signs in or signs in again, never exports in bulk (a module's data, a form's submissions as\nCSV), never removes or uninstalls a module, never changes the email settings (where password links go),\nand never installs or approves module packages: those are refused to any token, and those actions are never\noffered.",[619,747,748],{},"Editors and AI accounts cannot see or manage tokens.",[644,750,752],{"id":751},"who-may-do-it","Who may do it",[754,755,756,772],"table",{},[757,758,759],"thead",{},[760,761,762,766,769],"tr",{},[763,764,765],"th",{},"Action",[763,767,768],{},"Permission",[763,770,771],{},"Roles",[773,774,775,792,804,825,839,853],"tbody",{},[760,776,777,784,789],{},[778,779,780,781,783],"td",{},"See the token list (sidebar entry ",[623,782,257],{},") and each token's recent calls",[778,785,786],{},[662,787,788],{},"tokens.read",[778,790,791],{},"admin",[760,793,794,797,802],{},[778,795,796],{},"Create a token, revoke a token",[778,798,799],{},[662,800,801],{},"tokens.manage",[778,803,791],{},[760,805,806,809,822],{},[778,807,808],{},"Use a read token",[778,810,811,812,664,815,664,818,821],{},"the owner's own permissions (e.g. ",[662,813,814],{},"content.read",[662,816,817],{},"media.read",[662,819,820],{},"collections.\u003Cslug>.read",")",[778,823,824],{},"any active team member",[760,826,827,830,836],{},[778,828,829],{},"Report a build with a build token",[778,831,832,835],{},[662,833,834],{},"build.report"," (only ever for a build token)",[778,837,838],{},"admin, editor",[760,840,841,844,850],{},[778,842,843],{},"Use an MCP token",[778,845,846,847],{},"owner must have role ",[662,848,849],{},"ai",[778,851,852],{},"ai only",[760,854,855,858,879],{},[778,856,857],{},"Use an automation token",[778,859,860,861,863,864,664,867,664,870,664,873,672,876],{},"the owner's own permissions ",[623,862,744],{}," the token's actions, never ",[662,865,866],{},"team.*",[662,868,869],{},"tokens.*",[662,871,872],{},"services.*",[662,874,875],{},"users.roles",[662,877,878],{},"errors.manage",[778,880,881],{},"admin (who makes it for themselves)",[619,883,884,885,887],{},"Editors and the ai role have no ",[662,886,869],{}," actions, so only admins manage tokens.",[644,889,891],{"id":890},"in-the-admin","In the admin",[619,893,894],{},[895,896],"img",{"alt":897,"src":898},"The API tokens screen: a read token, a build token and two automation tokens, with their kind, who they act as and when they expire","\u002Fscreenshots\u002Fapi-tokens.png",[619,900,901,903,904,907,908,911,912,914],{},[623,902,257],{}," (icon a key) sits in the settings area's ",[623,905,906],{},"Team and access"," group, next to ",[623,909,910],{},"Team",". It is only shown to roles with\n",[662,913,788],{},". The admin is also available in Dutch.",[652,916,917,920,987,1085,1096,1138],{},[655,918,919],{},"A note at the top explains the kinds: build tokens let the website build fetch published content and report how\neach build went; read tokens only fetch published content; MCP tokens connect an AI assistant as an AI account that\ncan read and edit drafts, never publish or delete.",[655,921,922,923,664,926,929,930,664,932,664,934,664,936,664,938,672,941,943,944,947,948,951,952,955,956,959,960,963,964,967,968,971,972,975,976,979,980,982,983,986],{},"The table has the columns ",[623,924,925],{},"Name",[623,927,928],{},"Kind"," (a badge ",[662,931,625],{},[662,933,629],{},[662,935,669],{},[662,937,637],{},[662,939,940],{},"program",[662,942,641],{},"; an\nautomation token also shows how many actions it has, each one on hover), ",[623,945,946],{},"Token"," (the first characters followed\nby ",[662,949,950],{},"…",", e.g. ",[662,953,954],{},"shd_3fa9c1…","), ",[623,957,958],{},"Acts as user"," (with ",[623,961,962],{},"User deactivated"," when that team member is deactivated: the\ntoken is refused), ",[623,965,966],{},"Last used"," (\"Never\" or a relative time) and ",[623,969,970],{},"Expires"," (\"Never\" or a date, with ",[623,973,974],{},"Expired","\nonce it has passed). Each row has a ",[623,977,978],{},"Recent calls"," button and, for roles with ",[662,981,801],{},", a ",[623,984,985],{},"Revoke","\nbutton. Empty state: \"No tokens yet.\"",[655,988,989,992,993,996,997],{},[623,990,991],{},"New token"," opens the ",[623,994,995],{},"New API token"," page, wide enough to choose from, with a summary of what the token gets beside the form (its kind, when it expires and, for an automation token, every action picked):\n",[652,998,999,1004,1025,1065,1074,1079],{},[655,1000,1001,1003],{},[623,1002,925],{}," (required, 1–80 characters), with the hint \"Where it is used, e.g. “Website build” or “Claude Desktop –\nAnna”.\"",[655,1005,1006,1008,1009,664,1012,664,1015,664,1018,672,1021,1024],{},[623,1007,928],{},": ",[623,1010,1011],{},"Build (website build)",[623,1013,1014],{},"Read (published content)",[623,1016,1017],{},"MCP (AI assistant)",[623,1019,1020],{},"Data (other\nsystems)",[623,1022,1023],{},"Automation (trusted script)",". Default: Read.",[655,1026,1027,1028,1031,1032,1035,1036,664,1039,664,1042,1045,1046,1049,1050,1053,1054,1057,1058,1060,1061,1064],{},"With kind Automation: ",[623,1029,1030],{},"Actions",", the admin's own actions as checkboxes grouped by name, one group per area,\ncollection or module, collections under the heading of their own group (as on the Roles screen); at least one is\nrequired. ",[623,1033,1034],{},"Start from"," offers presets that pick what fits (",[680,1037,1038],{},"Site content",[680,1040,1041],{},"Build",[680,1043,1044],{},"Read only","; ",[623,1047,1048],{},"Clear"," takes\nthem all off again), and ",[623,1051,1052],{},"Search actions"," narrows the groups. ",[623,1055,1056],{},"Acts as team member"," shows \"Always you\" instead of a list,\nand ",[623,1059,970],{}," offers no ",[680,1062,1063],{},"Never"," (In 90 days is chosen when switching to it).",[655,1066,1067,1069,1070,1073],{},[623,1068,958],{},": a list of every active team member as \"Name (role)\". Empty means ",[623,1071,1072],{},"Me"," (the admin creating\nit). With kind MCP the list only shows AI accounts, and another choice is cleared when switching to MCP. Hint:\n\"MCP tokens must belong to an AI user.\"",[655,1075,1076,1078],{},[623,1077,970],{},": Never, In 30 days, In 90 days, In a year, counted from today.",[655,1080,1081,1084],{},[623,1082,1083],{},"Create token",". On failure a toast \"Could not create the token\" shows the reason.",[655,1086,1087,1088,1091,1092,1095],{},"After creation the page shows a warning \"Copy this token now \u002F It will not be shown again.\", the token in\na read-only field with a ",[623,1089,1090],{},"Copy"," button (toast \"Token copied\"), and ",[623,1093,1094],{},"Done",", which leads back to the list. Leaving\nthe page forgets the value.",[655,1097,1098,1100,1101],{},[623,1099,978],{}," opens a panel at the side, \"Recent calls: ",[1102,1103,1104,1105,664,1108,664,1111,664,1114,1117,1118,1121,1122,1124,1125,664,1128,664,1131,672,1134,1137],"name",{},"\", listing the token's calls newest first, 50 per\npage: ",[623,1106,1107],{},"When",[623,1109,1110],{},"Method",[623,1112,1113],{},"Route",[623,1115,1116],{},"Status"," (green for 2xx, amber for 4xx, red for 5xx) and ",[623,1119,1120],{},"Duration"," in\nmilliseconds. ",[623,1123,1116],{}," filters on ",[680,1126,1127],{},"All",[680,1129,1130],{},"Succeeded (2xx)",[680,1132,1133],{},"Refused (4xx)",[680,1135,1136],{},"Failed (5xx)",". Empty state: \"No\ncalls yet.\"",[655,1139,1140,1142,1143],{},[623,1141,985],{}," asks \"Revoke ",[1102,1144,1145],{},"?\" with \"Sites and AI clients using it stop working immediately.\" and deletes the\ntoken.",[619,1147,1148],{},"There is no way to rename a token, change its kind, owner or expiry, or show its value again: revoke it and create\na new one.",[619,1150,1151,1152,1155,1156,1158],{},"A script that sets an instance up can make a token without the admin, with the same rules: ",[662,1153,1154],{},"create-token"," on the\nserver (",[723,1157,50],{"href":51},").",[644,1160,1162],{"id":1161},"on-the-website","On the website",[619,1164,1165,1166,1169,1170,1172,1173,1176],{},"Nothing directly. The site build and the preview fetch content with a build token. ",[723,1167,1168],{"href":47},"Setting up an\ninstance"," advises a dedicated team member \"Site build\" (role editor, no password) with a\nbuild token. A read token still reads, but the site's build reports are refused with it, so the admin never shows\n\"Site up to date\". See ",[723,1171,199],{"href":200}," and ",[723,1174,1175],{"href":190},"The\nwebsite"," for what the build does with it.",[644,1178,1180],{"id":1179},"rules-and-limits","Rules and limits",[652,1182,1183,1199,1205,1214,1223],{},[655,1184,1185,1188,1189,1191,1192,1195,1196,1158],{},[623,1186,1187],{},"Expired tokens"," are refused at once and listed as ",[623,1190,974],{},"; 90 days after expiring they are deleted\nautomatically (retention kind ",[662,1193,1194],{},"expired-tokens",", adjustable on the Settings page, see ",[723,1197,1198],{"href":274},"Retention",[655,1200,1201,1204],{},[623,1202,1203],{},"Fetching published content has no rate limit",": a site build makes bursts of requests. MCP tokens are limited\n(below).",[655,1206,1207,1210,1211,1213],{},[623,1208,1209],{},"Using a token is not audited"," (it would flood the log); ",[623,1212,966],{}," shows activity, updated at most once a\nminute.",[655,1215,1216,1218,1219,1222],{},[623,1217,978],{}," keep every call a token was accepted on: the route as a pattern (",[662,1220,1221],{},"\u002Fapi\u002Fv1\u002Fcontent\u002Fcollections\u002F:slug",",\nnever the address that was called, its ids or its query), the status and the duration. Who called is kept only as\na scrambled key (a keyed hash of the IP address), never the address itself, and is not shown. Calls appear within\na few seconds. A call with an unknown, expired or wrong kind of token is no token's and is not listed.",[655,1224,1225,1226,1229,1230,1232],{},"Calls are kept 30 days (retention kind ",[662,1227,1228],{},"token-requests",", at least 7, adjustable under\n",[723,1231,1198],{"href":274},") and at most 10,000 per token, the newest. Revoking a token deletes its calls. They are\nnot part of an instance export (tokens are left out of it) nor of a person's own data.",[619,1234,1235],{},[623,1236,1237],{},"What a token looks like",[652,1239,1240,1250],{},[655,1241,1242,1243,1246,1247,1249],{},"A token starts with ",[662,1244,1245],{},"shd_",", followed by a long random part. The ",[662,1248,1245],{}," start lets secret scanners recognise a\nleaked token.",[655,1251,1252],{},"SHADE keeps only a scrambled form of the token (a hash), so a leaked database does not leak usable tokens. That is\nwhy the value is shown only once. The list shows its first 10 characters.",[619,1254,1255],{},[623,1256,1257],{},"Creating",[652,1259,1260,1263,1266,1271,1274],{},[655,1261,1262],{},"The token acts as the admin creating it unless another team member is chosen; an inactive one is refused (\"User is\ninactive\").",[655,1264,1265],{},"An MCP token must belong to an AI account (\"MCP tokens must belong to an AI user\"). This keeps an AI client from\never getting a human's permissions.",[655,1267,1268,1269,1158],{},"A read or build token may belong to any active team member, including an admin or an AI account (an AI account's\nbuild token cannot report builds: the ai role has no ",[662,1270,834],{},[655,1272,1273],{},"An expiry, when set, must be in the future (\"Must be in the future\").",[655,1275,1276,1277,664,1279,664,1281,664,1283,1172,1285,1287],{},"An automation token belongs to the admin who makes it (\"An automation token acts as the team member who makes\nit\" for another owner), needs an expiry (\"An automation token needs an expiry date\") and at least one action, each\none the maker may do now and none of ",[662,1278,866],{},[662,1280,869],{},[662,1282,872],{},[662,1284,875],{},[662,1286,878],{}," (\"Not\nallowed for an automation token: …\"). Other kinds take no actions.",[619,1289,1290],{},[623,1291,1292],{},"Using",[652,1294,1295,1298,1301,1316,1324,1327,1330,1333],{},[655,1296,1297],{},"A token works only while it has not expired, its owner is active, and it is used for what its kind is for (a build\ntoken also works wherever a read token does). An MCP token also stops when its owner is no longer an AI account.\nOtherwise the program gets \"A valid API token is required\".",[655,1299,1300],{},"Kinds do not overlap: a read or build token does not work for MCP or for managing data, and an MCP token does not\nfetch published content.",[655,1302,707,1303,1305,1306,1309,1310,1313,1314,726],{},[623,1304,940],{}," token is made only when an admin approves one of the client's programs, never on this screen\n(",[723,1307,1308],{"href":350},"Programs","). It fetches published content and manages data, never MCP,\nand acts as the program with exactly the actions its declaration uses. The list shows it as kind ",[680,1311,1312],{},"Program",", acting\nas the program; it is revoked with its program, under ",[623,1315,1308],{},[655,1317,718,1318,1320,1321,726],{},[623,1319,641],{}," token works only for what the admin's screens do, never for published content, data or MCP. A\nprogram uses either the token or a signed-in session, never both at once. Signing in, the account, the team, roles,\ntokens, users, services, module packages and approvals, exporting a module's data or a form's submissions, removing or\nuninstalling a module and saving the email settings refuse any token (\"This route takes a signed-in session,\nnever a token\"). A change sent from another website is refused as always. What it does is in the audit log under\nits owner, through ",[680,1322,1323],{},"API",[655,1325,1326],{},"A token carries its owner's role. A read token whose owner may not read a collection is refused for that\ncollection.",[655,1328,1329],{},"A read token only reads: it gets the reading actions of its owner's role and nothing else, so an admin's read token\nis not an admin in modules that accept tokens. It never reads the team, tokens or programs, whatever its team\nmember may read.",[655,1331,1332],{},"A build token is a read token that may also report builds. Only a build token can report a build.",[655,1334,1335,1336,1338,1339,1342,1343,726],{},"What is changed with a token shows up in the audit log under the owning team member, through ",[680,1337,1323],{}," (or ",[680,1340,1341],{},"AI (MCP)","\nfor an MCP token); see ",[723,1344,261],{"href":262},[619,1346,1347],{},[623,1348,1349],{},"When the owner changes",[754,1351,1352,1362],{},[757,1353,1354],{},[760,1355,1356,1359],{},[763,1357,1358],{},"Change",[763,1360,1361],{},"Effect on tokens",[773,1363,1364,1372,1382,1390,1400],{},[760,1365,1366,1369],{},[778,1367,1368],{},"Deactivated",[778,1370,1371],{},"Tokens stay in the list but stop working. Reactivating the team member makes them work again.",[760,1373,1374,1379],{},[778,1375,1376,1377],{},"Changes role away from ",[662,1378,849],{},[778,1380,1381],{},"Their MCP tokens are deleted at once. Read tokens stay.",[760,1383,1384,1387],{},[778,1385,1386],{},"Changes role (admin to editor, another custom role)",[778,1388,1389],{},"An automation token keeps only what both its actions and the new role allow. A program's token keeps working: it acts as the program, with its declared actions.",[760,1391,1392,1397],{},[778,1393,1394,1395],{},"Becomes ",[662,1396,849],{},[778,1398,1399],{},"Existing tokens stay; read tokens now act with the ai role.",[760,1401,1402,1405],{},[778,1403,1404],{},"Deleted",[778,1406,1407,1408,1158],{},"Their tokens are deleted with them (",[723,1409,221],{"href":222},[619,1411,1412,1415,1416,821],{},[623,1413,1414],{},"Rate limits"," (see ",[723,1417,265],{"href":266},[652,1419,1420,1423],{},[655,1421,1422],{},"MCP: 120 calls a minute per token; more are refused as too many requests.",[655,1424,1425],{},"Fetching published content has no rate limit of its own. A module feature that accepts tokens has one only if the\nmodule sets it.",[619,1427,1428,1415,1431,821],{},[623,1429,1430],{},"Audit",[723,1432,261],{"href":262},[652,1434,1435,1453,1462],{},[655,1436,1437,1438,1440,1441],{},"Creating: action ",[662,1439,801],{},", \"Created ",[1442,1443,1444,1445],"kind",{}," token ",[1102,1446,1447,1448],{}," for ",[1449,1450,1452],"owner",{"email":1451},"","\", with the owner, kind, first\ncharacters and expiry in the details (and an automation token's actions). Never the token itself.",[655,1454,1455,1456,1458,1459],{},"Revoking: action ",[662,1457,801],{},", \"Revoked token ",[1102,1460,1461],{},"\", with owner, kind and first characters.",[655,1463,1464,1465,1467,1468,1158],{},"Using a token is not audited (only Last used is updated). A build report is: action ",[662,1466,834],{}," (see\n",[723,1469,193],{"href":200},[644,1471,1473],{"id":1472},"for-developers","For developers",[619,1475,1476,1477,1480,1481,1484],{},"The code and its tests: ",[662,1478,1479],{},"shade\u002Ffeatures\u002Fteam\u002FREADME.md"," in the ",[662,1482,1483],{},"shade"," repository.",{"title":1451,"searchDepth":1486,"depth":1486,"links":1487},2,[1488,1489,1490,1491,1492,1493],{"id":646,"depth":1486,"text":647},{"id":751,"depth":1486,"text":752},{"id":890,"depth":1486,"text":891},{"id":1161,"depth":1486,"text":1162},{"id":1179,"depth":1486,"text":1180},{"id":1472,"depth":1486,"text":1473},"md",null,{},true,{"title":257,"description":1451},"7k3X1Np8yVCAKvFaIJfNq370dv20PdxqvT9CuavvMv4",[1501,1502],{"title":253,"path":254,"stem":255,"description":1451,"children":-1},{"title":261,"path":262,"stem":263,"description":1451,"children":-1},1796500159616]