[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"navigation_en":3,"/docs/features/admin-panel-data":144},[4,16,91,117,127],{"title":5,"path":6,"stem":7,"children":8,"icon":15},"Getting Started","/docs/get-started","docs/1.get-started/1.index",[9,11],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Setup","/docs/get-started/setup","docs/1.get-started/2.setup","mage:fast-forward-fill",{"title":17,"icon":18,"path":19,"stem":20,"children":21,"page":90},"Features","ic:baseline-cable","/docs/features","docs/2.features",[22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86],{"title":23,"path":24,"stem":25},"Database","/docs/features/database","docs/2.features/01.database",{"title":27,"path":28,"stem":29},"Authentication","/docs/features/auth","docs/2.features/02.auth",{"title":31,"path":32,"stem":33},"Payments","/docs/features/payments","docs/2.features/03.payments",{"title":35,"path":36,"stem":37},"Admin Panel","/docs/features/admin-panel","docs/2.features/04.admin-panel",{"title":39,"path":40,"stem":41},"AI","/docs/features/ai","docs/2.features/05.ai",{"title":43,"path":44,"stem":45},"Customization","/docs/features/customization","docs/2.features/06.customization",{"title":47,"path":48,"stem":49},"Storage","/docs/features/storage","docs/2.features/07.storage",{"title":51,"path":52,"stem":53},"Email","/docs/features/email","docs/2.features/08.email",{"title":55,"path":56,"stem":57},"Languages","/docs/features/languages","docs/2.features/09.languages",{"title":59,"path":60,"stem":61},"SEO","/docs/features/seo","docs/2.features/10.seo",{"title":63,"path":64,"stem":65},"Blogs","/docs/features/blogs","docs/2.features/11.blogs",{"title":67,"path":68,"stem":69},"Documentation","/docs/features/documentation","docs/2.features/12.documentation",{"title":71,"path":72,"stem":73},"Cron Jobs","/docs/features/cron-jobs","docs/2.features/13.cron-jobs",{"title":75,"path":76,"stem":77},"Error Handling","/docs/features/error-handling","docs/2.features/14.error-handling",{"title":79,"path":80,"stem":81},"Analytics","/docs/features/analytics","docs/2.features/15.analytics",{"title":83,"path":84,"stem":85},"PWA","/docs/features/pwa","docs/2.features/15.pwa",{"title":87,"path":88,"stem":89},"Customer Support","/docs/features/customer-support","docs/2.features/16.customer-support",false,{"title":92,"icon":93,"path":94,"stem":95,"children":96,"page":90},"Tutorials","ic:baseline-library-books","/docs/tutorials","docs/3.tutorials",[97,101,105,109,113],{"title":98,"path":99,"stem":100},"Project Structure","/docs/tutorials/project-structure","docs/3.tutorials/1.project-structure",{"title":102,"path":103,"stem":104},"Page Routes","/docs/tutorials/page-routes","docs/3.tutorials/2.page-routes",{"title":106,"path":107,"stem":108},"API Calls","/docs/tutorials/api-calls","docs/3.tutorials/3.api-calls",{"title":110,"path":111,"stem":112},"State Management","/docs/tutorials/state-management","docs/3.tutorials/4.state-management",{"title":114,"path":115,"stem":116},"Legal Pages by GPT","/docs/tutorials/legal-pages-by-gpt","docs/3.tutorials/5.legal-pages-by-gpt",{"title":118,"icon":119,"path":120,"stem":121,"children":122,"page":90},"Formatting & Linting","ic:baseline-format-align-left","/docs/formatting-and-linting","docs/4.formatting-and-linting",[123],{"title":124,"path":125,"stem":126},"Overview","/docs/formatting-and-linting/overview","docs/4.formatting-and-linting/1.overview",{"title":128,"icon":129,"path":130,"stem":131,"children":132,"page":90},"Deployment","ic:baseline-rocket-launch","/docs/deployment","docs/5.deployment",[133,136,140],{"title":124,"path":134,"stem":135},"/docs/deployment/overview","docs/5.deployment/1.overview",{"title":137,"path":138,"stem":139},"Vercel","/docs/deployment/vercel","docs/5.deployment/2.vercel",{"title":141,"path":142,"stem":143},"Cloudflare Workers","/docs/deployment/cloudflare","docs/5.deployment/3.cloudflare",{"page":145,"surround":269},{"id":146,"title":35,"body":147,"description":261,"extension":262,"head":263,"meta":264,"navigation":265,"ogImage":263,"path":36,"robots":263,"schemaOrg":263,"seo":266,"sitemap":267,"stem":37,"__hash__":268},"docs_en/docs/2.features/04.admin-panel.md",{"type":148,"value":149,"toc":252},"minimark",[150,154,158,190,194,205,210,220,224],[151,152,12],"h2",{"id":153},"setup",[155,156,157],"p",{},"To seed an Admin account, follow these steps:",[159,160,161,180],"ol",{},[162,163,164,165,169,170],"li",{},"Open the script ",[166,167,168],"code",{},"scripts/seed-admin-manual.cjs"," and configure the new admin details:",[171,172,178],"pre",{"className":173,"code":175,"filename":168,"language":176,"meta":177},[174],"language-text","const newAdmin = {\n    email: 'your_admin@yourdomain.com',\n    password: 'your-secure-password',\n    name: 'Your Admin Name',\n    role: 'admin',\n}\n","text","",[166,179,175],{"__ignoreMap":177},[162,181,182,183],{},"Run the command to create the admin:",[171,184,188],{"className":185,"code":186,"filename":187,"language":176,"meta":177},[174],"npm run seed:admin\n","Terminal",[166,189,186],{"__ignoreMap":177},[151,191,193],{"id":192},"usage","Usage",[155,195,196,197,200,201,204],{},"The Admin Panel dashboard is available at ",[166,198,199],{},"/admin"," (accessible only to users with the ",[166,202,203],{},"admin"," role).",[206,207,209],"h3",{"id":208},"dashboard","Dashboard",[211,212,213],"ul",{},[162,214,215,219],{},[216,217,218],"strong",{},"Stats",": Displays total users, admins, members, and new signups (last 7 days).",[206,221,223],{"id":222},"user-management","User Management",[211,225,226,232,246],{},[162,227,228,231],{},[216,229,230],{},"List Users",": View all users with pagination and filter by name.",[162,233,234,237,238,241,242,245],{},[216,235,236],{},"Edit User Status",": Update a user’s status to ",[216,239,240],{},"Active"," or ",[216,243,244],{},"Banned",".",[162,247,248,251],{},[216,249,250],{},"Create New User",": Add a new user by filling in name, email, role, and password (restricted to admins).",{"title":177,"searchDepth":253,"depth":253,"links":254},2,[255,256],{"id":153,"depth":253,"text":12},{"id":192,"depth":253,"text":193,"children":257},[258,260],{"id":208,"depth":259,"text":209},3,{"id":222,"depth":259,"text":223},"Set up the Admin Panel dashboard in your app to manage users, revenue, and subscriptions.","md",null,{},true,{"title":35,"description":261},{"loc":36},"zn2hqjGUzxu5FoCKuf56ZLiwkHRKYEunmEoVmC7xvPQ",[270,272],{"title":31,"path":32,"stem":33,"description":271,"children":-1},"Set up Stripe, Polar, or Dodo Payments via Better Auth plugins to handle one-time and subscription payments.",{"title":39,"path":40,"stem":41,"description":273,"children":-1},"Enable AI features in your app for chat, text generation, and image creation using OpenRouter."]