Div-idy logo

How to Connect a Database to a Div-idy Project

Saving data in Div-idy is prompt-based. Just tell the AI what data you want saved— perfect for contact forms, leads, signups, or orders. Div-idy handles the database setup for you.

Updated Time: ~3–5 minutes Audience: All users
Open My Projects Edit After Publishing

Quick Answer

To connect a database, include in your prompt that you want data saved (for example, form submissions or orders). Div-idy automatically creates and connects a database. You can view and manage the data from your project page using the Database tool.

What kinds of data can be saved?

  • Contact form submissions (name, email, message)
  • Leads and signups
  • Orders and checkout details
  • Survey responses
  • Any structured data you describe in your prompt
No setup required

You don’t need to configure a database manually—Div-idy does it automatically.

Step-by-step: connect and use a database

1

Describe saved data in your prompt

Tell Div-idy exactly what information should be stored.

Example prompt:
Create a contact form that saves submissions to a database.

Fields:
- Name
- Email
- Message

Show a success message after submission.
2

Generate your project

Div-idy creates the database connection automatically.

Click: Generate
Database is created and connected
3

Access your database

Open your project page and click the Database tool.

Project page →
Click: Database
View saved entries

Tips for better database prompts

  • Clearly list each field you want saved
  • Specify required vs optional fields
  • Ask for validation and error handling
  • Include timestamps if you need them