Database Management


Managing your database

Build task managers, contact forms, booking systems, and more. Adding a database to your Anima Playground project lets you store and manage real data from your users.

In this guide:


Adding a database

Databases and tables are created on-demand through chat. No forms to fill out, no configuration screens — just describe what you need.

How it works

Two ways to add a database:

  1. AI detects it — Describe a feature that needs data (like "add a contact form that saves submissions"), and the AI recognizes this and sets up the database automatically.

  2. Ask for it — Tell the AI what you want to store: "I need a table for blog posts" or "add a database to save user signups." The AI creates everything for you.

This works the same whether you're writing your first prompt or iterating in the playground.

What gets created

When a database is added, you get:

  • A configured database connected to your project
  • Tables structured for your specific use case
  • Security policies already set based on your app needs

The Data tab

Access your database by clicking the Data icon in the top bar (looks like a cylinder/database icon).


The Data tab has four sections:

SectionWhat it shows
DatabaseYour tables with row counts and security policies
UsersUser accounts and authentication

The Database section is where you manage your tables and data.


Understanding tables

Tables organize your data into rows (records) and columns (fields). Think of them like spreadsheets with structure.

Your tables

Tables are created based on your project. Building an e-commerce app? You might get Products and Orders tables. A contact form? A Submissions table. The AI structures tables to fit what you're building.

Each table shows:

  • Row count — How many records exist
  • Column count — How many fields per record
  • Security policy badge — Who can access this data (more on this below)

Table details

Click any table to expand its detail view:

  • Description — Explains what this table stores. Click to edit.
  • Security policy — Shows current access rules with a visual indicator
  • Data grid — Preview of your records with columns tailored to your table's purpose

Security policies

Security policies control who can create, view, edit, and delete records in each table. Understanding these helps you know how your data is protected.


Access levels

Four access levels are available:

LevelWho it includesUsed when...
OwnerOnly you (the playground owner)Sensitive data only you handle
CreatorThe person who created that specific recordUsers should manage their own submissions
Logged-inAnyone with an account who's signed inFeatures require authentication
EveryoneAnyone, including visitors without accountsPublic content or anonymous submissions

Viewing permissions

The table detail view shows a permissions grid — a quick way to see who can do what with your data. This is read-only; to change permissions, just ask in chat (e.g., "let logged-in users create orders but only see their own").


Working with data

Viewing records

  1. Go to the Data tab
  2. Click the Database section
  3. Click any table to see its records

Records display in a grid with sortable columns. Each row shows an Actions menu for that record.


Customizing columns

Click Columns to show or hide specific columns in the grid. Useful for focusing on the data that matters most.

Adding records


  1. Open a table's detail view
  2. Click + Add row in the toolbar
  3. A side panel slides in with form fields
  4. Fill in the required fields and click Save

Exporting data

Click Export CSV to download all records as a spreadsheet-compatible file. Useful for:

  • Backups
  • Analysis in Excel or Google Sheets
  • Sharing data with team members

Importing data

Click Import CSV to add records from a file. The CSV columns should match your table's structure.

Deleting records

Two options:

  • Single record — Click the trash icon in the Actions column
  • Multiple records — Select rows using the checkboxes, then delete. Select all to delete everything.

⚠️ Heads up: Deleting is permanent. There's no undo, so export a backup first if you're unsure.


Tips and best practices

Managing through chat

The AI assistant handles most database tasks. Try asking:

  • "Create a new table for blog posts"
  • "Add a 'status' column to the Orders table"
  • "Let users edit their own orders but not delete them"
  • "Show me what's in the feedback table"
  • "Change Products to public read access"

The assistant understands natural language, so describe what you need and it figures out the technical details.


Quick reference

TaskHow to do it
Open databaseClick Data icon in top bar → Database section
View table recordsClick table name in the list
Add a rowTable detail view → Add Row button
Export dataTable detail view → Export CSV
Import dataTable detail view → Import CSV
Change securityAsk the AI assistant in chat
Add a tableAsk the AI assistant in chat
Delete all dataTable detail view → Delete all records
Disable auto-databaseSettings → Features → Toggle off Auto-add databases

Skip databases by default

For users who'd rather not have databases added automatically, there's a global setting:

  1. Open Settings from the top bar
  2. Find the Features section
  3. Toggle off Auto-add databases

With this disabled, the AI won't add databases unless you explicitly ask for one in chat.