Step 1 | Install the CLI
Install the Base44 CLI globally using npm:The CLI requires Node.js 20.19.0 or higher.
Step 2 | Authenticate
Log in to your Base44 account using the device code flow:- Open the provided URL in your browser.
- Enter the device code shown in your terminal.
- Complete authentication in your browser.
~/.base44/auth/auth.json and remain valid until you log out or the session expires.
Step 3 | Create a project
Create a new Base44 project using the interactive wizard:.app.jsonc.
<your-project-name>
base44
.app.jsonc
config.jsonc
.gitignore
- Project: Your project name
- Dashboard: Link to your Base44 dashboard
Further development
Now that your Base44 project is set up, you can define your data models and optionally connect a frontend application. This section covers development workflows including defining entities, connecting frontends, and deploying your site.Defining and deploying entities and functions
Define entity schemas in thebase44/entities/ directory as JSON or JSONC files. After creating or modifying entities, sync them with your Base44 project using the entities push command.
To add backend functions, create them according to the function structure documented in the project structure guide. Once created, deploy them with the functions deploy command.
Your local frontend connects to Base44’s hosted backend. Entity and function changes must be deployed to Base44 using
deploy before they appear in your local application.Building a frontend
Create a frontend application using your preferred framework. Install the Base44 JavaScript SDK:base44/.app.jsonc) and use it to interact with your entities:
Local development
Most frontend frameworks support local development servers with hot reloading. Through the SDK, your local frontend will connect to Base44’s hosted backend. Entity and function changes must be deployed to Base44 usingdeploy before they appear in your local application.
Deploying your frontend
If you want to deploy your frontend to Base44’s hosting platform, configure theoutputDirectory in your base44/config.jsonc:
outputDirectory tells the CLI where your build tool outputs the compiled files. Build your frontend, then deploy with the site deploy command.

