Skip to main content

MNKY LABZ

MNKY LABZ is the admin dashboard and command center for the MOOD MNKY ecosystem. It lives in the same Next.js app as MNKY VERSE and The Dojo, under the (dashboard) route group. It provides operational tools for formulas, fragrance oils, glossary, Shopify store management, Notion sync, and the CODE MNKY conversational assistant.
LABZ Tagline: “Command center” — where operations, product data, and AI assistance converge.

Overview

MNKY LABZ serves internal users (operations, product, development) with:
  • Product data: Formulas, fragrance oils, glossary (fragrance_notes)
  • Shopify: Products, collections, orders, customers, marketing, analytics
  • Content: MNKY LABZ Pages (Shopify), Notion sync for oils/formulas/blog
  • Platform tools: Table editor, SQL editor, Flowise, funnels, members
  • Verse backoffice: Manga, XP & Quests, UGC moderation, Discord events
  • CODE MNKY: In-dashboard conversational assistant (LABZ dock)

Dashboard Routes

Lab (Product Data)

PathDescription
/Dashboard home (stats, activity feed, quick actions)
/formulasFormulas library
/fragrancesFragrance oils catalog
/glossaryFragrance glossary
/glossary/[slug]Glossary term detail
/blendingBlending Lab
/wicksWicks & Wax
/productsProduct Builder

Store (Shopify Admin)

PathDescription
/storeStore overview
/store/productsProducts
/store/collectionsCollections
/store/ordersOrders
/store/customersCustomers
/store/inventoryInventory
/store/marketingMarketing
/store/discountsDiscounts
/store/financeFinance
/store/contentContent
/store/analyticsAnalytics
/store/labz-pagesMNKY LABZ Pages

Integrations

PathDescription
/notionNotion sync (fragrance oils, formulas, glossary, blog)

Create & Chat

PathDescription
/chatAI Chat
/chat/agentsChat agents
/chat/eleven-labsElevenLabs voice
/studioMedia studio
/studio/videoVideo studio
/studio/audioAudio studio
/mediaMedia library

Platform

PathDescription
/platformPlatform overview
/platform/tablesTable editor
/platform/sqlSQL editor
/platform/ai-sqlAI SQL
/platform/funnelsFunnels
/platform/flowiseFlowise control panel
/platform/discordDiscord integration
/platform/storefront-assistantStorefront assistant
/membersMembers management

Verse Backoffice

PathDescription
/verse-backoffice/xpXP management
/verse-backoffice/ugcUGC moderation
/verse-backoffice/mangaManga management
/verse-backoffice/discord-eventsDiscord events

CODE MNKY Assistant

The LABZ dock (bottom of the dashboard sidebar) hosts the CODE MNKY avatar. Click to open the conversational assistant.

Tools

CODE MNKY can use these tools (defined in lib/chat/labz-tools.ts):
ToolPurpose
list_formulasList formulas from Supabase
list_fragrance_oilsList fragrance oils
search_glossarySearch fragrance_notes by name/description
get_labz_pages_summaryCount and list MNKY LABZ pages (Shopify)
notion_sync_statusCheck Notion connection
open_labz_sectionDeep links to LABZ sections

Configuration

  • Storage: code_mnky_config table (Supabase)
  • API: GET/PATCH /api/labz/config
  • Control panel: /code-mnky — edit default model, system prompt

LABZ APIs

EndpointPurpose
POST /api/labz/chatCODE MNKY chat (streaming)
GET /api/labz/configLABZ config
PATCH /api/labz/configUpdate config
GET /api/labz/modelsAvailable AI models
POST /api/labz/transcribeSpeech-to-text
GET /api/dashboard/statsDashboard statistics

Integrations

Shopify Admin API

LABZ consumes Shopify Admin API for products, collections, orders, customers, inventory, marketing, discounts, finance, analytics, and pages.

Notion

Notion sync populates:
  • Fragrance oils
  • Formulas
  • Glossary (fragrance_notes)
  • Blog posts (verse_blog_posts)

Supabase

LABZ reads and writes:
  • formulas, formula_categories, formula_phases, formula_ingredients
  • fragrance_oils, fragrance_notes
  • code_mnky_config
  • Plus tables for Verse backoffice, members, etc.

Technical Stack

  • Framework: Next.js 14+ (App Router)
  • UI: shadcn/ui, Tailwind CSS
  • Auth: Supabase Auth (admin/member roles)
  • Data: Supabase PostgreSQL
  • Deployment: Vercel