base44 create to generate a new project instead.
The CLI requires Node.js 20.19.0 or higher.
Understanding local code vs. backend projects
When working with Base44, there are two separate components:- Local code: The project files on your computer, such as your frontend code, entity schemas and backend functions.
- Base44 backend project: The backend infrastructure on Base44’s servers, including the database, endpoints, hosting, and so on.
- Create a new project: Creates a fresh backend on Base44 for your code. Choose this if you’re setting up this code for the first time.
- Link to existing: Connects to a backend that already exists on Base44. Choose this if you’re reconnecting to a backend you set up earlier, or if you’re joining a team project where the backend has already been created.
Link a project
Get the project code
Clone an example app or download existing project code, then navigate to the project directory.The project should already contain a
base44/ folder with a config.jsonc file.Authenticate
Log in to your Base44 account:The CLI generates a device code. Open the provided URL, enter the code, and complete authentication in your browser.
Link the project
Link your local project to a Base44 backend:The CLI will prompt you to either create a new backend project or link to an existing one. This creates an
.app.jsonc file in your base44/ directory with your app ID:Set up environment variables (if needed)
Your app ID is required when configuring an SDK client. Projects typically store their app ID in an environment variable and retrieve it to create a client. Check the project’s documentation or configuration files for instructions on setting the required environment variables.
Build the frontend if the project has one
If your project includes a frontend, build it so it’s ready to deploy in the next step.
Next steps
Now that your project is set up and running, you can:- Use the SDK to add more functionality to your frontend, if the project has one.
- Add entities, backend functions, and agents.
- Continue building and deploy updates with
base44 deploy.

