Deploy with an agent
Copy agent prompt
Before you start
Connect your AWS account and choose a project. Review the upstream deployment instructions for the release you plan to pin.Data dependencies
PostgreSQL for application data. File-dependent features can also need durable storage. See SQL databases for private writer access and connection details.Deployment order
- Create a private PostgreSQL database. Wait for the writer and obtain its host, port and application credentials from Connect.
- Set
LANGFLOW_DATABASE_URLto the PostgreSQL writer connection. Keep authentication enabled, set an initial admin password securely, and preserve the release’s secret key across deploys. - Use
langflowai/langflowon port 7860. Check what the release stores underLANGFLOW_CONFIG_DIR. Provide supported durable storage or use a persistent host if those files must survive task replacement. - Start Langflow after the database is ready. Wait for startup and schema initialization before creating flows. Connect external model and vector services before running any flow that uses them.