
Using Base Code
Ready to get started?
Open Base Code and sign in to Base44, or create a free account.
Step 1 | Connect your GitHub account
Base Code works directly in your GitHub repositories, so it needs access to the ones you want to work on. If your GitHub account is already connected, continue to choosing a repository. To connect your account:- Go to Base Code and sign in to Base44, or create a free account.
- Click Connect GitHub.
- Sign in to GitHub if prompted, then authorize Base44 Builder.
-
Select the GitHub account or organization, then follow the prompts to install or configure Base44 Builder. Choose which repositories it can reach:
- All repositories: Every repository in the account, including new ones. Choose this on your own GitHub account if you plan to fork or copy repositories, so Base44 can reach each new copy.
- Only select repositories: Only the repositories you pick. Include each repository you want to work on.
If you aren’t an owner of the GitHub organization, GitHub sends your request to the organization’s owners and you see Waiting for approval. After an owner approves it, click Connect GitHub again.
Step 2 | Choose a repository
Pick the repository you want to work on. If you can’t push to it, Base Code can make your own copy of it on GitHub.Setting up your project doesn’t change your repository. Base Code keeps its setup files on the Base44 side, so it doesn’t commit them or create a setup branch.
Connecting your repository
Find your repository on the Base Code start screen, or choose it from your GitHub account or paste its link. To open your repository:- Go to Base Code.
- Choose where to find your repository:
- It’s shown on the start screen: Select it, then click Edit in Base. Base Code connects it on its default branch, so you can skip to Step 3.
- It isn’t shown: Click View other repos to open Connect your repository.
- You’ve connected a repository before: Click the repository drop-down at the top of the sidebar, then click Add repository to open Connect your repository. On mobile, it’s called Add new repository.
- From your account
- Paste a link
To choose a repository from your account:
- Select a repository in Connect your repository.
- Click Connect. Base Code connects it on its default branch.
Fixing repository problems
If you can’t connect or edit your repository, choose what applies:My repository isn't listed
My repository isn't listed
If your repository isn’t listed in Connect your repository, give Base44 access to it on GitHub.To update repository access:
- Give Base44 Builder access to the repository on GitHub.
- Reopen Connect your repository in Base Code.
My repository's organization isn't approved
My repository's organization isn't approved
If you see “Your workspace’s GitHub policy doesn’t allow this import”, or Base44 says your repository isn’t in an approved GitHub organization, your workspace doesn’t allow repositories from that organization. Ask someone who manages your workspace’s GitHub organizations to connect the organization and mark it Allowed, then try again.The same rule applies to a fork or private copy. Base Code creates it in your own GitHub account, so that account must also be in your workspace’s connected organizations and marked Allowed.
I can't make changes or create a branch
I can't make changes or create a branch
If your project shows a Read only badge, or Base Code asks for GitHub access when you click Create branch, your GitHub account isn’t connected or doesn’t have write access to the repository. In a read-only project, you can still discuss it in the AI chat and switch branches.To connect your GitHub account:
- Go to Base Code.
- Click the connect button Base Code shows you:
- In a read-only project: Open the project, then click Connect account in the Connect your GitHub account banner.
- When you create a branch: Click Connect to GitHub.
- Authorize Base44 Builder on GitHub.
- (Optional) If you were creating a branch, click Create branch again.
If you see GitHub write access required or “Your GitHub account can’t push to this repo”, your account is connected but doesn’t have write access. Ask a repository admin to give your GitHub account write access, then click Recheck permissions, or try creating the branch again. You can also connect your own copy of the repository instead.
Step 3 | Make your first change
After you connect a repository, your project opens in the Base Code editor, and the AI sets it up on the branch you connected. Then describe your first change on the Base Code start screen, and Base Code creates a branch for it and names it for you.What to expect:
- Setup: The AI chat shows each setup step as it goes. If a step fails, click Fix setup to have the AI fix it. You might not see Preview until the AI has your project running.
- Sessions: If your sidebar shows New session, your project uses sessions, and Base Code starts your change in a session instead of a branch.
- Credits: Setup is free. After that, each request uses your workspace’s credits.
- When setup finishes in the AI chat, click Home in the sidebar to open the start screen.
- If you’ve connected several repositories, select the one you want to change in the repository drop-down at the top of the sidebar.
- (Optional) Select the branch to start from in the drop-down next to Create new branch from. If your sidebar shows New session, the drop-down is next to Create new session from.
-
Describe the change you want to make in the prompt box. For example:
-
Click Create branch. If your sidebar shows New session, click Create session instead. If Base Code asks for GitHub access, see I can’t make changes or create a branch.

Creating your first branch
- Review the change in Preview once it appears, then ask the AI chat for any adjustments.
- When you’re happy with the change, open a pull request so your team can review it on GitHub.
How your project runs:
- Preview, not hosting: Base Code provides a development preview, not production hosting. To release your changes or connect a custom domain, use your project’s existing deployment process and hosting provider.
- Your own stack: Your project keeps its own database, authentication, and routing. Connecting a repository doesn’t add any Base44 database, login, or code to your project. To add a database, authentication, or CI/CD, ask the AI chat to add it with your project’s own stack, and add any connection strings or API keys as secrets.
- Coming back: When you come back to Base Code, your project environment starts back up. If it needs rebuilding, Base Code rebuilds it from the latest commit on your GitHub branch, so you only get back the changes that reached GitHub. Before you leave, let the AI finish its reply.
FAQs
How do I apply a coupon code?
How do I apply a coupon code?
A Base Code coupon makes AI chat requests free for everyone in your workspace for 30 days, while the model is set to Auto. You can apply it before or after connecting a repository.You can apply 1 coupon per workspace. Each code also works in only a limited number of workspaces, so if you see “This code has reached its redemption limit”, try another code.To apply a coupon:
- Go to Base Code.
- Enter your coupon code:
- Before connecting a repository: Click Have a coupon? at the top right, then enter your code in the dialog.
- After connecting a repository: Enter your code in the field under Have a coupon?.
- Click Apply.
Where can I learn about privacy and data use?
Where can I learn about privacy and data use?
Base44’s Privacy Policy explains how personal information is collected and used. Privacy and security covers AI model training and your data controls.