The CLI requires Node.js 20.19.0 or higher.
Setup
Create a Base44 backend
Navigate to your React Native project directory, then run:If you’re not already logged in, the command will prompt you to authenticate.Select Create a basic project when prompted. This creates the backend files within your React Native project directory. Then follow the prompts to configure your project.When you create a project, Base44 skills are included automatically, providing your AI agent with instructions and context for Base44 tasks.
Define entities
Create entity schemas to define your data structures. Entity files must be placed in the
base44/entities/ directory.For example, create base44/entities/task.jsonc:Push entities to Base44
Push your entity schemas to Base44:This command synchronizes your local entity definitions with your Base44 backend, making them available for use in your application. See
entities push for more information.Create a Base44 client
Create a Base44 SDK client in your project. The
appId can be found in your base44/.app.jsonc file.For example, create api/base44Client.js:Create a task list screen
Create a simple screen component to list and add tasks. For example, create
screens/TaskListScreen.js:Use the exact entity name from your schema when calling the SDK, including capitalization. By convention, entity names begin with a capital letter. For example, if your schema has
"name": "Task", you access it as base44.entities.Task.list().Run your app locally
Start your Expo development server to test your integration. From your project root, run:Follow the Expo CLI instructions to open your app on a simulator, physical device, or web browser.Your React Native app will connect to your Base44 backend through the SDK client, allowing you to work with your deployed entities in real-time.
Next steps
Now that your Base44 backend is integrated with your project, you can:- Use the SDK to add more functionality to your mobile app.
- Add entities, backend functions, and agents. If you’re working in TypeScript, generate types to get autocomplete and type safety.
- Test locally by running
base44 devfor the backend alongside your app’s dev server. See Local development for setup instructions.
See also
- CLI Command Reference: All available CLI commands
- Project Structure: How project files are organized
- JavaScript SDK Documentation: Connect your app to the backend
- Base44 Skills: Teach AI assistants to work with Base44

