Clone from a template
Butterbase lets you clone any public app as a starting point for your own project. The clone copies the source’s database schema, functions, and code files — you get a complete, working app you can immediately customize.
From the dashboard
Section titled “From the dashboard”The easiest way to find and clone a template is through the dashboard:
- Go to dashboard.butterbase.ai and select the Templates page.
- Search or scroll to find a template you like. Each card shows the app name, owner, schema summary, and number of times it’s been cloned.
- Click the template card to see full details — tables, functions, and recent clones.
- Click Clone to start the process. You’ll be prompted to name your app and choose a region.
- Once the clone completes, you’re redirected to your new app’s overview page.
From the CLI
Section titled “From the CLI”Clone from the command line using the app ID:
butterbase templates --sort popularbutterbase clone <app_id> ./my-clone [--name "My App Name"] [--region us-west-2]The clone command:
- Creates a new app (you own it).
- Pulls the source’s latest repo snapshot into
./my-clone/(defaults to a dir named after the app id). - Updates
.butterbase/config.jsonwith the new app ID.
Both --name and --region are optional. If omitted, the new app gets a default name and inherits the source’s region.
From an MCP agent
Section titled “From an MCP agent”Two steps using the MCP manage_app tool:
Step 1: Search for public templates.
manage_app action: "find_templates" q: "blog" sort: "popular" limit: 10Returns { items: [...], total, limit, offset } with matching templates.
Step 2: Start the clone.
manage_app action: "clone" source_app_id: "<app_id>" name: "My Custom Name" region: "us-west-2"Returns { job_id, status: "pending" }.
Step 3: Poll until done.
manage_app action: "get_clone_job" job_id: "<job_id>"Returns status (pending, completed, or failed), dest_app_id when completed, and error_message on failure.
After the clone — what to set up yourself
Section titled “After the clone — what to set up yourself”Once your clone is ready, you’ll need to configure:
- OAuth client secrets — update provider credentials if your clone uses social sign-in.
- Function environment variables — functions run with no env vars; you must add them via the dashboard or
manage_functionaction. - BYOK AI keys — if the source used bring-your-own keys for Claude, Gemini, or other models, add your own via app settings.
- Custom domains — if you want a custom domain, configure it on the cloned app (separate from the source).
For the full inventory of what transfers, see What a clone copies. For what doesn’t, see What stays with you.
Clone job warnings
Section titled “Clone job warnings”The clone API returns a warnings[] array to report deviations during replay. For example:
- If the source’s
auth_hook_functionpoints to a function that couldn’t be replayed, the binding is left NULL and a warning is printed. - Storage or function settings that reference secrets don’t copy (those secrets belong to the source owner).
Both the dashboard, CLI, and MCP tools surface these warnings. Review them after the clone completes to ensure your new app is configured correctly.