FAQ

NocoBase 2 and NocoBase 3

Products and development approaches

In NocoBase 2, tables, pages, permissions, and workflows exist as configuration stored in the database, and the platform reads that configuration to render the interface. In NocoBase 3, they are all code, in your own repository, written by agents. NocoBase provides the runtime, plugins, and foundation libraries as npm packages.

Once changes are code, you can manage them like code: develop on a branch, review, test, release by version, and roll back when something goes wrong. When the platform lacks a capability, an agent can write it directly, so you are no longer limited by the configuration screens.

In NocoBase 2In NocoBase 3
Enable a plugin in the plugin managerRegister the plugin in the app's plugin lists, usually done by an agent with pnpm nocobase plugin register. See Manage plugins
Configure it on the plugin's settings pageThree places: deployment settings (database, storage, mail provider) go in config.yml; business rules are written into the code by agents; what administrators adjust day to day (users, roles, data scopes, approvers, amount thresholds) lives in the app's System settings
Drag and drop pages and blocks in the interfaceDescribe the page to an agent, and it writes the page as code using components from the UI library
Configure processes on the workflow canvasProcesses are written in code (record lifecycle). Administrators view the flow chart, adjust workflow parameters, and check execution records in Workflow management.
Create tables and add fields in data source managementAgents write migration files, and pnpm nocobase db apply runs them
Changes take effect as soon as they are savedChanges are code, and take effect after development, verification, and deployment
AI employeesBusiness agents, connected by the Agents plugin, using the same roles and permissions as people

Do plugins still have a UI?

Yes, in a different form. A plugin brings server-side capabilities, skills, and commands to the app, and a few plugins ship their own pages (for example App foundation). More of the interface comes as UI components that agents place into your pages. The admin entry points are collected in the app's System settings, and agents build them by default when they deliver an app.

To see which plugins an app uses, open System settings › App foundation. It lists the Core capabilities the app actually uses and the packages that provide them.

Feature mapping

NocoBase 2NocoBase 3Notes
Users, roles, and permissionsThe authentication, users, and authorization plugins, plus three plugins for default data scopes, sharing rules, and restriction rulesEnabled in the default template, which ships with the User management, Roles and permissions, and Default data scopes pages
Data sources and collectionsThe database foundation library and migrations; an external database is connected as a second connectionSupports SQLite, PostgreSQL, MySQL, SQL Server, and Oracle; Dameng, KingbaseES, and OceanBase are in the commercial editions
File managerThe file plugin and the storage foundation libraryLocal storage, S3-compatible storage, and Alibaba Cloud OSS
WorkflowsRecord lifecycle (a foundation library) and the scheduled tasks pluginProcess structure is written in code, with no drag-and-drop designer
ApprovalsThe approval plugin CommercialMulti-level, all-must-approve, any-can-approve, add approver, transfer, and send back
Notifications and in-app messagesThe notification, in-app message, and notification channel pluginsIn-app messages; email (SMTP, Resend); Feishu and DingTalk group bots
Email managementThe mail pluginLink personal mailboxes, then send, receive, and sync email
AI employees and AI knowledge baseThe Agents plugin and the knowledge base pluginInstalled in the default template; register them when needed
Localization and themesThe localization plugin; themes are in the template
API keysThe API keys pluginEnabled in the default template
Template printingThe template printing skill packGuidance for agents only. The agent implements it in the app
Charts, import and export, and other blocksImplemented in the app by agentsThe UI library provides components such as data tables and dashboards
Audit logsNot available yetThe audit item in App foundation shows that no provider has been detected yet
LDAP, SAML, DingTalk, WeCom, Feishu, Slack, and other sign-in methodsAuthentication pluginAll supported. The authentication plugin is built on Better Auth, and enterprise identity and social sign-in are connected through configuration

See Manage plugins to inspect, register, update, or remove the plugins used by an app.

Migrating existing applications

The two are structured differently: in 2 the business definitions are configuration in the database, and in 3 they are code, so an app cannot be upgraded in place. Moving to 3 means rebuilding the app on 3 and then importing the business data.

Migration path to be added

This section will be filled in once the official migration method and tools, and the maintenance plan for NocoBase 2, are confirmed.

NocoBase docs assistant

Ask anything about NocoBase…

Each question is answered independently, without earlier questions or answers. Include all relevant context.