Skip to content

Connect a database and run your first full analysis

Lovrabet builds AI-Native systems on top of your existing enterprise data.

This guide shows how to bring an existing database into Lovrabet with the Database Connector.

Option 1: Work manually in the Lovrabet workbench

Step 1. Connect a new database

Click Connect new database, then fill in the database connection details in the drawer that opens.

On a saved connector card, click Edit to change the connection details, or Test connection to check whether the database is reachable from the Lovrabet server.

<grid> <column width-ratio="0.500432"> The Database Connector page in the Lovrabet workbench, with the navigation bar on the left and the CRM Demo app's database connection details in the center </column> <column width-ratio="0.499568"> Connecting a new database in the Lovrabet workbench, with the navigation bar on the left and the CRM Demo project page in the center </column> </grid>

Step 2. Intelligent database analysis

Once the database is connected, click Full analysis. Lovrabet then analyzes every table in the database in the background.

Analysis time depends on table size (30~60 seconds per table on average).

<grid> <column width-ratio="0.500000"> Database connection details page </column> <column width-ratio="0.500000"> Database connection details page </column> </grid>

Step 3. Ready to go

When the intelligent analysis finishes, click View analysis results, or start using any of Lovrabet's development capabilities.

The business data domain model view in RabetBase, with Business data domain model highlighted by a red arrow in the left navigation

Option 2: Let an Agent run it through the Rabetbase CLI

Everything you do in the console can also be done by an Agent through the Rabetbase CLI. Developers usually just copy a prompt instead of typing commands by hand.

Console actionCLI the Agent can call
Test connectiondb test
Full analysisdb analyze-start
Incremental analysisdb analyze-start --tables …
Check analysis statusdb analyze-status

Sample prompt

text
/rabetbase 连接数据库连接并做全量分析:
mysql://testuser:mypsd@db-host:db-port/testdb

For incremental analysis prompts, see Incremental analysis after schema changes; for the full command set, see Console actions ↔ Rabetbase CLI mapping.

The welcome screen of Claude Code v2.1.144

FAQ

Can't reach my database?

Only publicly accessible databases are supported for now (connections to databases on private networks are in development).

You can restrict access with the Lovrabet IP allowlist: 114.55.107.18 1120.26.236.115 8.154.30.39 47.110.157.121

The database changed — how do I sync it to Lovrabet?

Make sure the database is connected, click Incremental analysis, and select the tables you want to analyze.

<grid> <column width-ratio="0.500000"> The CRM Demo app in Lovrabet, with the platform navigation on the left and the app name, version, and database connection details on the right </column> <column width-ratio="0.500000"> The Lovrabet full and incremental data analysis UI, including a New button and related options </column> </grid>

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