Skip to content

Hands-on guide to building an enterprise system

This tutorial uses a sample CRM app as the teaching case, showing how an enterprise system grows from a database through data recognition, business queries, write-back validation, Skills, SQL, Backend Functions, and operations dashboards.

Before you start

ItemHow to check
Lovrabet accountYou can open the Lovrabet workspace
App permissionsYou can create apps, or you have admin access to a target app
Admin permissionsYou can open App Management
Runtime permissionsYou can click Visit System to enter the business system
CLI environmentWhen command verification is needed, lovrabet --help runs on your machine

Order of work

StepDocumentWhat you do
0Preparation: create the CRM sample appCreate the app and locate the admin and runtime entries
1Connect your CRM starting from the databaseConfirm the database and datasets are recognized
2Query system dataQuery data in the business system from the runtime
3Capture after executionReview records and save stable workflows as Skills
4View related business dataLink up customers, opportunities, contracts, and orders
5Check before executingConfirm permissions, targets, and impact scope
6Write back reliablyWrap business actions in controlled write services
7Add SQL, BFF, and Backend FunctionsTurn stable logic into callable capabilities
8Standardize metric definitionsCalibrate multi-table relations and calculation rules
9Configure the operations dashboardGive managers a fixed view

Fixed entry points in this tutorial

Entry pointUsed for
Visit SystemWhere business users work in the CRM
Create AppCreate the CRM sample app
App ManagementWhere implementation engineers configure the app
Database ConnectorView database connections
Dataset OverviewView CRM datasets
Custom SQL ManagementManage stable SQL
Backend FunctionManage backend logic such as write-back, validation, and notifications
SkillsView and run captured business workflows

Screenshot reference: the CRM runtime entry is shown below. Confirm you can see Lovrabet AI, My, Skills, and Knowledge on the left, and the input box at the bottom.

CRM runtime entry

Claude Code prompt

text
请在当前项目里使用 rabetbase 检查目标 CRM 应用的研发态状态。
先执行 rabetbase schema --format compress,确认本机命令契约。
再执行 rabetbase app list --format compress 和 rabetbase doctor --format compress。
如果用户还没有创建应用,提示先完成第 0 步创建 CRM 案例应用。
如果用户已经创建应用但本地还没有登记,再执行 rabetbase app remote --format compress 查询当前账号可访问的应用。
只输出当前项目是否已配置目标应用、认证状态、默认应用和下一步可执行命令。
本轮只读,不修改任何配置。

Completion checklist

  • You can open the CRM runtime.
  • You can see the crm_demo database.
  • You can see datasets such as customer information, leads, opportunities, and follow-up records.
  • You can find customers that need follow-up via a Skill or a chat.
  • You can add a follow-up record, or see a confirmation before write-back.
  • You can verify stable capabilities through SQL, BFF, or a Backend Function.

基于飞书知识库同步生成,内容以飞书源文档为准