Admin Apps
Build custom admin dashboard applications.
Admin App Overview
Admin apps extend the ThreeU admin dashboard. They authenticate with Secret Admin Tokens and have full Admin SDK access.
Apps can be public (marketplace) or exclusive (brand-specific).
App Configuration
Define your admin app:
threeu.config.ts — Admin App
TypeScript
import { defineApp } from "threeu-sdk/plugin";
export default defineApp({
name: "Inventory Pro",
slug: "inventory-pro",
surface: "admin",
permissions: [
"products:read", "inventory:read",
"inventory:update", "orders:read"
],
blocks: {
dashboard: { component: "Dashboard", title: "Dashboard" },
inventory: { component: "Inventory", title: "Inventory" }
}
});