base44 deploy
Deploys all project resources (entities, functions, agents, connectors, and site) to Base44 in a single command.Syntax
Options
| Option | Description |
|---|---|
-y, --yes | Skip confirmation prompt |
What It Deploys
The command automatically detects and deploys:- Entities - All
.jsoncfiles inbase44/entities/ - Functions - All functions in
base44/functions/ - Agents - All agent configurations in
base44/agents/ - Connectors - All connector configurations in
base44/connectors/ - Auth Config - Authentication settings from
base44/auth/(if present) - Site - Built files from
site.outputDirectory(if configured)
Examples
Typical Workflow
What It Does
- Reads project configuration from
base44/config.jsonc - Detects available resources (entities, functions, agents, connectors, site)
- Shows a summary of what will be deployed
- Asks for confirmation (unless
-yflag is used) - Deploys all resources in sequence:
- Pushes entity schemas
- Deploys functions
- Pushes agent configurations
- Pushes connector configurations
- Pushes auth configuration
- Uploads site files
- Handles OAuth authorization for any new connectors that require it
- Displays the dashboard URL and app URL (if site was deployed)
Connector OAuth Flow
If any connectors require authorization after deployment, the CLI will prompt you to open your browser to complete OAuth. In non-interactive environments (CI/CD, no TTY), OAuth prompts are skipped automatically.Requirements
- Must be run from a linked Base44 project directory
- Must be authenticated (run
npx base44 loginfirst) - For site deployment, must run
npm run buildfirst
Output
After successful deployment:- Dashboard: Link to your app’s management dashboard
- App URL: Your deployed site’s public URL (if site was included)
Notes
- If no resources are found, the command exits with a message
- Use individual commands (
entities push,functions deploy,connectors push,site deploy) if you only want to deploy specific resources - The site must be built before deployment - this command does not run
npm run buildfor you
Related Commands
| Command | Description |
|---|---|
base44 entities push | Push only entities |
base44 functions deploy | Deploy only functions |
base44 agents push | Push only agents |
base44 connectors push | Push only connectors |
base44 auth push | Push only auth config |
base44 site deploy | Deploy only the site |

