Skip to main content
This page is part of an AI coding agent skill and is written for agents, not humans. For the human-readable Base44 docs, see the developer documentation.

base44 deploy

Deploys all project resources (entities, functions, agents, agent skills, connectors, and site) to Base44 in a single command.

Syntax

Options

What It Deploys

The command automatically detects and deploys:
  1. Entities - All .jsonc files in base44/entities/
  2. Functions - All functions in base44/functions/
  3. Agents - All agent configurations in base44/agents/
  4. Agent Skills - All skill files in base44/agent-skills/
  5. Connectors - All connector configurations in base44/connectors/
  6. Auth Config - Authentication settings from base44/auth/ (if present)
  7. Visibility - App visibility (public, private, or workspace) from the visibility field in base44/config.jsonc (if set)
  8. Site - Built files from site.outputDirectory (if configured)

Examples

Typical Workflow

What It Does

  1. Reads project configuration from base44/config.jsonc
  2. Detects available resources (entities, functions, agents, agent skills, connectors, site)
  3. Shows a summary of what will be deployed
  4. Asks for confirmation (unless -y flag is used)
  5. Deploys all resources in sequence:
    • Sets app visibility (if configured)
    • Pushes entity schemas
    • Deploys functions
    • Pushes agent skill files
    • Pushes agent configurations
    • Pushes auth configuration
    • Pushes connector configurations
    • Uploads site files
  6. Handles OAuth authorization for any new connectors that require it
  7. 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 login first)
  • For site deployment, must run npm run build first

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, agents push, agent-skills push, 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 build for you