Running apps
Saving data and secrets
Use .data/ for databases and uploads, and .env for API keys.
- `.data/` survives restarts and sleeping, isn't shown to visitors and isn't copied into remixes. Put SQLite databases and uploaded files here.
- `.env` holds secrets, one per line (
API_KEY=abc123). Only you and your collaborators can open it. Remixes get the names with blank values, and the AI assistant never sees the values.
Anything else in your project is public if the project's code is public.
Updated 14 November 2026
Didn't answer your question?
Contact support