Secure Data Storage

Your app comes with its own Postgres SQL database, ready to use. You don't need to set up a separate one or manage complex connections.

Databutton's native database is a secure place where your app can save and retrieve all sorts of information – like user profiles, lists of items, settings, saved progress, or anything else your app needs to remember.

How It Works

  • Data storage in Databutton is handled on the backend using a serverless, production-grade PostgreSQL database.

  • The agent can define your schema, write raw SQL migration files, and query the database using the Python package asyncpg.

Your app's backend code can easily:

  • Save data: When a user creates something or makes a change

  • Fetch data: To show users their information or load settings

  • Update data: If something changes

  • Delete data: Remove information when needed

Visual Data Management

Databutton even lets you peek into this storage! The "Users and Data" tab allows you to see the tables and the actual data being stored for your app. This is super helpful for understanding what your app is doing and for troubleshooting.

Click 'Users and Data' to access your user details and database

You can view, edit, and manage your app's data directly through the intuitive interface – no complex database tools required.

Agent-Assisted Setup

Talk to the agent about what you want your app to do, not how to implement it. The agent is smart about using the native features automatically.

Example prompt:

"I need to store customer information including name, email, phone, and order history. Set up the database structure for me."

The Databutton Agent will:

  • Design appropriate database schemas automatically

  • Set up relationships between different types of data

  • Create secure ways to access and modify data

  • Handle data validation and error management

Why It's Important

  • Persistence: Your app can remember information even after users close it and come back later

  • Organization: Keeps your app's data structured and manageable

Dynamic content allows your app to show different information to different users or change what's displayed based on saved data.

Last updated

Was this helpful?