Turning on testing mode
Turn on the Test Data setting in App Settings to create a separate test database for your app and access the testing mode in preview.Note: When you turn on Test Data, it creates a new, empty database. Existing production data is not copied to the test database.
- Click Dashboard in your app editor.
- Click Settings .
- Click App Settings.
- Turn on the Test Data toggle.

Turning on Test Data in App Settings
Accessing your test data
Go to the Data tab to view and edit records in your tables and choose whether you are working with production or test data. You can keep production as your source of truth while you experiment with structure or content in the test environment.
Switching between production and test data in the Data tab
- Click Dashboard in your app editor.
- Click Data.
- Click the data table you want to work with on the left menu.
- Click Test at the top.
- Add, edit, or delete records.
Notes:
- Changes you make with Production selected affect only your production data.
- Changes you make with Test selected affect only your test data.
- Production and test data are completely separate. Updating one does not update the other.
Testing your app in preview
Use preview mode to see how your app behaves with real interactions while keeping your live data safe. At the top of your app preview, you can switch between production and testing mode so you control where preview reads and writes data. If you make changes in the testing mode, you can go to the Data tab and select Test to see the records created.
Turning on test data mode in the app preview
- Click Preview in your app editor.
- At the top of the preview, click the Turn on test data icon .
- Use your preview as normal to create, update, or delete data.
Notes:
- When testing mode is turned on in preview, all data reads and writes go to your test data.
- When testing mode is turned off in preview, all data reads and writes go to your production data.
- Turning the test mode on and off in preview does not affect which environment your published app uses. The live app always uses production data.
FAQs
Click a question below to learn more about testing your data.Why is my test database empty?
Why is my test database empty?
When you turn on testing mode, your test database starts empty. Records only appear after you add or edit the test data in the Data tab, or you create data in preview mode with testing mode turned on.
Can I use the same data in both production and testing mode?
Can I use the same data in both production and testing mode?
There is no automatic sync between production and test data in either direction. If you want a record to exist in both environments, create or import it separately.
Can I turn off testing mode?
Can I turn off testing mode?
You can go back to Settings and App Settings at any time and turn off the Test Data toggle. When you turn it off, the test database is hidden from the Data tab, but existing test data is kept in case you turn it back on later.
Does the AI chat use production or test data?
Does the AI chat use production or test data?
When you use the AI chat to add or update data, it always works with production data. The AI chat does not write to the test database, even when testing mode is turned on.

