You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+90-8Lines changed: 90 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,10 +74,14 @@ Parse Dashboard is a standalone dashboard for managing your [Parse Server](https
74
74
-[Panel Item](#panel-item)
75
75
-[Prefetching](#prefetching)
76
76
-[Freeze Columns](#freeze-columns)
77
-
-[Browse as User](#browse-as-user)
78
-
-[Change Pointer Key](#change-pointer-key)
79
-
-[Limitations](#limitations)
80
-
-[CSV Export](#csv-export)
77
+
-[Browse as User](#browse-as-user)
78
+
-[Change Pointer Key](#change-pointer-key)
79
+
-[Limitations](#limitations)
80
+
-[CSV Export](#csv-export)
81
+
-[AI Agent](#ai-agent)
82
+
-[Configuration](#configuration)
83
+
-[Providers](#providers)
84
+
-[OpenAI](#openai)
81
85
-[Views](#views)
82
86
-[Data Sources](#data-sources)
83
87
-[Aggregation Pipeline](#aggregation-pipeline)
@@ -1231,35 +1235,113 @@ Prefetching is particularly useful when navigating through lists of objects. To
1231
1235
1232
1236
Right-click on a table column header to freeze columns from the left up to the clicked column in the data browser. When scrolling horizontally, the frozen columns remain visible while the other columns scroll underneath.
1233
1237
1234
-
## Browse as User
1238
+
###Browse as User
1235
1239
1236
1240
▶️ *Core > Browser > Browse*
1237
1241
1238
1242
This feature allows you to use the data browser as another user, respecting that user's data permissions. For example, you will only see records and fields the user has permission to see.
1239
1243
1240
1244
> ⚠️ Logging in as another user will trigger the same Cloud Triggers as if the user logged in themselves using any other login method. Logging in as another user requires to enter that user's password.
1241
1245
1242
-
## Change Pointer Key
1246
+
###Change Pointer Key
1243
1247
1244
1248
▶️ *Core > Browser > Edit > Change pointer key*
1245
1249
1246
1250
This feature allows you to change how a pointer is represented in the browser. By default, a pointer is represented by the `objectId` of the linked object. You can change this to any other column of the object class. For example, if class `Installation` has a field that contains a pointer to class `User`, the pointer will show the `objectId` of the user by default. You can change this to display the field `email` of the user, so that a pointer displays the user's email address instead.
1247
1251
1248
-
### Limitations
1252
+
####Limitations
1249
1253
1250
1254
- This does not work for an array of pointers; the pointer will always display the `objectId`.
1251
1255
- System columns like `createdAt`, `updatedAt`, `ACL` cannot be set as pointer key.
1252
1256
- This feature uses browser storage; switching to a different browser resets the pointer key to `objectId`.
1253
1257
1254
1258
> ⚠️ For each custom pointer key in each row, a server request is triggered to resolve the custom pointer key. For example, if the browser shows a class with 50 rows and each row contains 3 custom pointer keys, a total of 150 separate server requests are triggered.
1255
-
## CSV Export
1259
+
1260
+
### CSV Export
1256
1261
1257
1262
▶️ *Core > Browser > Export*
1258
1263
1259
1264
This feature will take either selected rows or all rows of an individual class and saves them to a CSV file, which is then downloaded. CSV headers are added to the top of the file matching the column names.
1260
1265
1261
1266
> ⚠️ There is currently a 10,000 row limit when exporting all data. If more than 10,000 rows are present in the class, the CSV file will only contain 10,000 rows.
1262
1267
1268
+
## AI Agent
1269
+
1270
+
The Parse Dashboard includes an AI agent that can help manage your Parse Server data through natural language commands. The agent can perform operations like creating classes, adding data, querying records, and more.
1271
+
1272
+
> [!Caution]
1273
+
> The AI agent has full access to your database using the master key. It can read, modify, and delete any data. This feature is highly recommended for development environments only. Always back up important data before using the AI agent.
1274
+
1275
+
### Configuration
1276
+
1277
+
To configure the AI agent for your dashboard, you need to add the `agent` configuration to your Parse Dashboard config:
|`agent`| Object | Yes | The AI agent configuration object. |
1300
+
|`agent.models`| Array | Yes | Array of AI model configurations available to the agent. |
1301
+
|`agent.models[*].name`| String | Yes | The display name for the model (e.g., `ChatGPT 4.1`). |
1302
+
|`agent.models[*].provider`| String | Yes | The AI provider identifier (e.g., "openai"). |
1303
+
|`agent.models[*].model`| String | Yes | The specific model name from the provider (e.g., `gpt-4.1`). |
1304
+
|`agent.models[*].apiKey`| String | Yes | The API key for authenticating with the AI provider. |
1305
+
1306
+
The agent will use the configured models to process natural language commands and perform database operations using the master key from your app configuration.
1307
+
1308
+
### Providers
1309
+
1310
+
> [!Note]
1311
+
> Currently, only OpenAI models are supported. Support for additional providers may be added in future releases.
1312
+
1313
+
#### OpenAI
1314
+
1315
+
To get an OpenAI API key for use with the AI agent:
1316
+
1317
+
1.**Create an OpenAI account**: Visit [platform.openai.com](https://platform.openai.com) and sign up for an account if you don't already have one.
1318
+
1319
+
2.**Access the API section**: Once logged in, navigate to the API section of your OpenAI dashboard.
1320
+
1321
+
3.**Create a new project**:
1322
+
- Go to the "Projects" section
1323
+
- Click "Create project"
1324
+
- Name your project "Parse-Dashboard" (or any descriptive name)
1325
+
- Complete the project setup
1326
+
1327
+
4.**Configure model access**:
1328
+
- In your project, navigate to "Limits > Model Usage"
1329
+
- Select the AI models you want to use (e.g., `gpt-4`, `gpt-3.5-turbo`)
1330
+
- These model names will be used as the `agent.models[*].model` parameter in your dashboard configuration
1331
+
1332
+
5.**Generate an API key**:
1333
+
- Go to the "API Keys" page in your project settings
1334
+
- Click "Create new secret key"
1335
+
- Give your key a descriptive name (e.g., "Parse Dashboard Agent")
1336
+
- Copy the generated API key immediately (you won't be able to see it again)
1337
+
1338
+
6.**Set up billing**: Make sure you have a valid payment method added to your OpenAI account, as API usage incurs charges.
1339
+
1340
+
7.**Configure the dashboard**: Add the API key to your Parse Dashboard configuration as shown in the example above.
1341
+
1342
+
> [!Important]
1343
+
> Keep your API key secure and never commit it to version control. Consider using environment variables or secure configuration management for production deployments.
0 commit comments