Bubble to Cloudflare App & Data Migrator

v0.4.0
io.github.Red-Center-Studio/nocode-migrator Checked 2 days ago Published 16 days ago

Move a Bubble® app's UI, backend, D1 data, and R2 files to your Cloudflare account.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

nc_ping Check the migrator

Works without an API key, and the free preview needs none. Checks that the migrator is reachable and returns the server name, version and time. It reports an API key as working only when one was sent with the call; otherwise it says no key was sent.

nc_audit Audit a no-code app (free)

Read-only inventory of a Bubble® app before moving its data to Cloudflare D1 and R2: data types, fields, relations, option sets, record counts, types the Data API does not expose, and a risk list with the estimated workload the export would use. Nothing is written to the app. Pass app_spec (app-spec.json from the nocode-migration-audit plugin) for privacy rules and workflow counts, or editor_catalog (the Bubble MCP list_types output) when you have no app_spec. To move a whole app, start with nc_move instead: the app file, the free preview and the price need no token. A Data API token is asked…

ParameterTypeDescription
app_base_url *stringThe app's address, for example https://yourapp.bubbleapps.io or its custom domain.
source *stringThe source platform. Bubble apps only in v1.
app_specobjectapp-spec.json from the nocode-migration-audit plugin (spec version 0.1).
data_api_tokenstringA Data API token from the app's Settings > API. Needed for record counts. Never stored after the audit. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_…
detailstringApps with more than 30 types get a summary of the biggest types by default. full returns everything.
editor_catalogobjectThe output of the Bubble MCP list_types tool, used for the schema when there is no app_spec.
job_idstringA job from nc_connect: its sealed Data API token and uploaded catalog are used.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
versionstringWhich database to count. Default live.

nc_plan Plan the move (free)

Mapping plan for a job from nc_audit: one D1 table per data type (wide types split into linked tables, lists as join tables), a SQL preview of the first three tables, slim-down suggestions (empty types, logs, chat history) and an effort tier. Nothing is created. Skip lists are decisions for the owner: pass them only after the owner agrees.

ParameterTypeDescription
job_id *stringThe job_id from nc_audit.
detailstringPlans with more than 30 tables list the biggest by default. full returns everything.
id_strategystringPrimary keys keep the source's unique ids (the only option in v1).
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
primitive_listsstringLists of text or numbers as a JSON column (default) or a join table.
skip_fieldsarrayFields to leave out, as type.field.
skip_typesarrayData type keys to leave out, as agreed with the owner.

nc_connect Secure link for tokens and the app catalog

Returns a one-time link to a page on this server where the owner types the Cloudflare token, the R2 keys and the source app's Data API token, and can upload the editor catalog file. They are checked, sealed in the job and never pass through the chat. Use it instead of putting tokens in tool calls. Give app_base_url (and version) for a new job, or job_id to add tokens to an existing one. The link works for 30 minutes. Free. With purpose export it returns the page where the owner uploads the app file instead, a single file picker and no tokens (the link works for 60 minutes); then call nc_compil…

ParameterTypeDescription
app_base_urlstringThe source app's address, for a new job.
job_idstringAn existing job, to add or replace its tokens.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
purposestringtokens (default): the page for the Cloudflare, R2 and Data API tokens. export: the page where the owner uploads the app file, so nc_compile_plan can score the move. The export link works for 60 minute…
versionstringWhich database: live (default) or test.

nc_compile_plan Score the move and list what needs a person (free)

Reads the app file the owner uploaded (nc_connect with purpose export) and returns a move score from 0 to 100, how ready each page is, a plain-words list of what needs a person, what moves by itself, the names of the secrets to re-enter, and the price of each way to finish the move. Read only for the owner's app: nothing is changed or charged. Works on Bubble® apps. Needs the file uploaded first; the result is kept with the file and deleted with it.

ParameterTypeDescription
job_id *stringThe job_id from nc_connect. The app file must already be uploaded (nc_connect with purpose export).
detailstringsummary (default) lists the 10 pages that need the most attention. full lists every page and reusable element.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
refreshbooleanCompute again even if nothing changed. Normally not needed.

nc_changes Queue changes for the move (free)

Queues, lists, removes or clears changes the owner wants made during the move: rename or drop a data type or field, add a field, drop a page, change a list of choices, or swap the email provider (all automatic), or describe anything else in plain words. Names are checked against the plan from nc_compile_plan. Nothing in the owner's app changes, nothing is charged, and the move score does not change.

ParameterTypeDescription
action *string
job_id *stringThe job_id from nc_connect.
changeobjectFor add.
change_idstringFor remove.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.

nc_forget Delete the uploaded app file (free)

Deletes the app file the owner uploaded and the plan built from it. Use it when the owner asks to delete their uploaded file. what=all also clears the queued changes. Safe to repeat. It does not touch tokens or billing.

ParameterTypeDescription
job_id *stringThe job_id from nc_connect.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
whatstringexport (default): the uploaded file and the plan. all: also the queued changes.

nc_basket Switch add-ons and queued changes on or off (free)

The basket for finishing the move. list shows every add-on with its price and how it is previewed, and which add-ons and queued changes are switched on. switch turns one on or off (an add-on id such as dark_mode, or a change_id such as chg_01). Only what is switched on is charged, once, when the move is finalised; anything switched off leaves nothing in the owner's app. Only add-ons that are on sale are listed, and an add-on that needs setup (an email provider key, an admin, your own API key) says so in its needs text: tell the owner. Nothing is charged by this tool.

ParameterTypeDescription
action *stringlist, switch one item on or off, or reset every switch to its starting position (add-ons off, queued changes on).
job_id *stringThe job_id from nc_connect.
itemstringFor switch: an add-on id from list, or a change_id from nc_changes.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
onbooleanFor switch: true to include it, false to leave it out.

nc_finalise_quote The exact total for finishing the move (free)

Shows exactly what finalising this app costs: the tier for its page count (the matching data move is included), the 20% extra-app discount (never more than the app's build cost) when this account finalised another app in the last 12 months, each add-on and change switched on in nc_basket, bundles, and the total in USD, with, for key holders, the prepaid balance and whether it covers it. Nothing is charged by this tool. It also states the daily upload allowance (and for key holders, uploads_left_today). You pay once by card at Stripe checkout (the Finalise button on the preview page), or, with…

ParameterTypeDescription
job_id *stringThe job_id from nc_connect. The app file must already be uploaded and planned.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
modestringautomatic (default): every page rebuilt and deployed. developer: the briefs and the generated backend only, for the owner's own AI assistant to build the pages.

nc_schema Generate and create the D1 schema (paid)

Generates numbered D1 migration SQL files and a Drizzle schema from the agreed plan (nc_plan), and writes them to the customer's R2 under nc/<job>/schema/. With apply: true it creates the D1 database in the customer's account and runs the migrations. Safe to repeat: every statement is idempotent. Run nc_plan first and agree its skip list with the owner. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.

ParameterTypeDescription
job_id *string
applybooleanCreate the database and run the migrations. Default false: only generate the files.
cf_account_idstringThe customer's Cloudflare account id.
cf_api_tokenstringA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc…
database_namestringName of the D1 database to create or reuse, for example nc-sharehousehub-staging.
go_aheadbooleanSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired…
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
max_statementsnumberStatements to run per call when applying. Default 100.
r2_access_key_idstringAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_bucketstringAn R2 bucket in that account, for staging and schema files.
r2_secret_access_keystringIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
upgradebooleanSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.

nc_export Export records to R2 staging (paid)

Pages through the source app's records (read only) into NDJSON objects in the customer's R2 bucket. Resumable: progress is saved after every page, so a stopped run continues where it stopped. Each call does a bounded slice and returns status partial until every type is done; call it again. Pass since for a delta run that exports only records modified after that time. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.

ParameterTypeDescription
job_id *string
cf_account_idstringThe customer's Cloudflare account id.
cf_api_tokenstringA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc…
data_api_tokenstringThe source app's Data API token. Needed on the first call; sealed in the job. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
go_aheadbooleanSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired…
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
max_pagesnumberPages of up to 100 records per call. Default 20.
max_requests_per_minutenumberThrottle for the source app. Default 60.
r2_access_key_idstringAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_bucketstringAn R2 bucket in that account, for staging and schema files.
r2_secret_access_keystringIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
reexportbooleanExport everything again even though a finished run exists.
sincestringISO date. Only records modified after it (a delta run). Starts a new run once the previous one is done.
typesarrayData type keys to export. Default: every type not skipped in the plan.
upgradebooleanSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.

nc_load Load staged records into D1 (paid)

Loads the staged records into the customer's D1 database by upsert on id. A second run changes zero rows. References to records that do not exist are set to null and logged (orphans), never dropped silently. Each call does a bounded slice and returns status partial until done. truncate_first empties the tables first and needs confirm_overwrite: true. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.

ParameterTypeDescription
job_id *string
cf_account_idstringThe customer's Cloudflare account id.
cf_api_tokenstringA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc…
confirm_overwritebooleanConfirms that existing rows in the target may be overwritten or removed.
go_aheadbooleanSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired…
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
max_requestsnumberD1 queries per call. Default 60.
modestringUpsert by id (the only mode in v1).
r2_access_key_idstringAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_bucketstringAn R2 bucket in that account, for staging and schema files.
r2_secret_access_keystringIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
reprocessbooleanRun every staged object again, for example after a schema change. Rows that already match change nothing.
truncate_firstbooleanEmpty the target tables before loading. Needs confirm_overwrite.
typesarrayData type keys to load. Default: all exported types.
upgradebooleanSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.

nc_files Copy files to R2 and link them (paid)

Copies every file and image the loaded data points at from the source's storage into the customer's R2 bucket, stored under its content hash (the same file is stored once). Records old URL to new key in the file_map table, fills each file field's key column, and keeps the old URL in its legacy column. Links inside text, rich text and JSON are copied too, and replaced by the app's file route (a list of files holds bare keys); the originals are backed up in text_url_backup (rewrite_text: false turns the replacing off). Every link ends copied or listed as failed with its reason, and the step is n…

ParameterTypeDescription
job_id *string
allow_hostsarrayExtra hosts to copy from, for example images.example.com. Links to other hosts are listed, not copied.
bucketstringR2 bucket for the files. Default: the staging bucket.
cf_account_idstringThe customer's Cloudflare account id.
cf_api_tokenstringA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc…
go_aheadbooleanSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired…
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
max_bytesnumberLargest file to copy. Default 50 MB.
max_filesnumberFiles per call. Default 15.
r2_access_key_idstringAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_bucketstringAn R2 bucket in that account, for staging and schema files.
r2_secret_access_keystringIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
retry_failedbooleanTry again the files that failed or were skipped earlier.
rewritebooleanFill the key columns once a file is copied. Default true.
rewrite_textbooleanReplace links inside text values with url_prefix plus the new key (a list of files gets the bare key). Originals go to text_url_backup. Default true.
upgradebooleanSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.
url_prefixstringPrefix for rewritten text links. Default /api/files/ (the generated app's file route).

nc_users Import users and prepare sign-in (paid)

Turns the loaded users into login identities (email, created date, and the verified flag as exported) and writes the recipient list to the customer's R2. Passwords are not migrated: Bubble® does not export password hashes, so every user signs in with a magic link or sets a new password by email. Returns counts and an announcement template. It does not send any email. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.

ParameterTypeDescription
job_id *string
cf_account_idstringThe customer's Cloudflare account id.
cf_api_tokenstringA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc…
go_aheadbooleanSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired…
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
r2_access_key_idstringAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_bucketstringAn R2 bucket in that account, for staging and schema files.
r2_secret_access_keystringIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
strategystringHow users sign in the first time. Default magic_link.
upgradebooleanSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.

nc_access Convert privacy rules to an access policy (paid)

Converts the app's privacy rules into policy.ts (per-table read and write rules, default deny) and a generated test file with allow and deny cases. Rules it cannot translate with certainty are listed as MANUAL with their original text, never guessed. Reads the rules saved by nc_audit when it was given an app_spec; pass app_spec here to use a newer one. Paid: needs a pass for the app, or the free trial for plans up to 1,000 records.

ParameterTypeDescription
job_id *string
app_specobjectapp-spec.json from the nocode-migration-audit plugin. Default: the one given to nc_audit.
cf_account_idstringThe customer's Cloudflare account id.
cf_api_tokenstringA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc…
go_aheadbooleanSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired…
inlinebooleanReturn the file contents in the reply as well as writing them to R2.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
r2_access_key_idstringAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_bucketstringAn R2 bucket in that account, for staging and schema files.
r2_secret_access_keystringIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
upgradebooleanSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.

nc_verify Verify the target against the source (paid)

Checks the loaded data and says pass or fail: row counts per type against the source's count now, a checksum sample (default 500 records per type, sha256 of the canonical JSON of the mapped columns, read back from D1), broken foreign keys, and that every copied file exists in R2. Writes verification.md to the customer's R2. Reads the source and the target; changes nothing. Each call does a bounded part and returns partial until done. nc_cutover refuses to run unless the last verification passed and nothing changed after it. Paid: needs a pass for the app, or the free trial for plans up to 1,00…

ParameterTypeDescription
job_id *string
accept_unmapped_filesbooleanAccept that some rows keep a source file URL with no copy (links to other hosts, files that could not be copied). Without it they fail the verification.
cf_account_idstringThe customer's Cloudflare account id.
cf_api_tokenstringA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc…
data_api_tokenstringThe source app's Data API token, if it is not held for this job any more. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
go_aheadbooleanSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired…
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
max_costnumberWork per call. Default 120.
r2_access_key_idstringAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_bucketstringAn R2 bucket in that account, for staging and schema files.
r2_secret_access_keystringIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
restartbooleanStart a new verification instead of continuing the open one.
samplenumberRecords to checksum per type. Default 500.
skip_sourcebooleanDo not count the source's records (no token). Counts are then compared with what the export reported.
typesarrayData type keys to verify. Default: all.
upgradebooleanSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.

nc_redirects Build the old-to-new redirect map (paid)

Builds redirects.json (301s from old Bubble® paths and query forms to the new routes), a redirects.ts module, an _redirects file, legacy-urls.json and legacy-redirects.ts (saved into legacy_parity for compilation), and a curl script that tests every URL. Old URLs come from sitemap_url, url_list, gsc_urls, or wayback: true; compiled route patterns (path_patterns) and legacy slug matching run automatically on url_list as well as gsc_urls. A URL whose route or query filter still answers 200 is listed as unchanged; a URL it cannot place is listed as unmapped with the reason, never guessed. Give n…

ParameterTypeDescription
job_id *string
app_specobjectapp-spec.json, for the page list. Default: the one given to nc_audit.
cf_account_idstringThe customer's Cloudflare account id.
cf_api_tokenstringA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc…
go_aheadbooleanSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired…
gsc_urlsarraySearch Console top pages URL list (old indexed URLs).
id_slug_mapobject{ type: { bubble id: slug } }. Default: read from the loaded slug columns.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
new_basestringOrigin of the new app for the expected Location, for example https://www.example.com. Default: the old URL's own origin.
page_routesobjectOld page key to its new route. A route with :slug or :id takes one thing, for example /rooms/:slug.
page_typesobjectOld page key to the data type it shows, when the name does not say.
path_patternsobjectMulti-segment path to query param mapping by route, for example { "/directory": ["trade", "loc"] }.
r2_access_key_idstringAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_bucketstringAn R2 bucket in that account, for staging and schema files.
r2_secret_access_keystringIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
replacebooleanStart the job's stored legacy URL map again from this call alone. Without it the URLs of this call are added to what earlier calls recorded.
sitemap_urlstringThe old app's sitemap.xml (a sitemap index is followed).
upgradebooleanSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.
url_listarrayOld URLs, absolute or paths.
waybackbooleanQuery Wayback CDX for historical 200 URLs on the app's domain.

nc_cutover Plan the cutover and rollback (paid)

Refuses to run unless the last nc_verify passed and nothing was exported, loaded, copied or imported after it. Then returns the exact steps: freeze the old app, the final delta (nc_export with since, nc_load, nc_files, nc_users, nc_verify again), publish the redirects, the DNS change to make in Cloudflare, the email to send, what to watch, and the rollback. It never changes DNS or the old app. Call it again with complete: true and confirm_cutover: true after the move to record it and delete every credential held for the job. Paid: needs a pass for the app, or the free trial for plans up to 1,0…

ParameterTypeDescription
job_id *string
cf_account_idstringThe customer's Cloudflare account id.
cf_api_tokenstringA Cloudflare API token with D1 edit permission on that account. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc…
completebooleanRecord that the move is done.
confirm_cutoverbooleanNeeded with complete: confirms DNS has moved and credentials may be deleted.
domainstringThe address users visit, for example www.example.com. Required when the old app is on a bubbleapps.io address.
go_aheadbooleanSet true only when a charge applies, once the owner has seen the estimate and agreed to it. Not needed under the free trial or a pass that already covers the app. Needed again after a pass has expired…
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
r2_access_key_idstringAccess key id of an R2 API token that can read and write that bucket. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
r2_bucketstringAn R2 bucket in that account, for staging and schema files.
r2_secret_access_keystringIts secret. Sealed in the job, deleted when it ends. Prefer nc_connect with job_id: the owner types tokens on a secure page. Only pass it here if nc_connect is not available.
upgradebooleanSet true to pay the difference to the next pass that fits, only when the app is past its pass's (or free trial's) record or file limit.

nc_account Credits, passes and usage

Free, and works without an API key: with no key it says what is free, what the free trial covers and what each pass costs; with a key it shows the credit balance, the passes paid for (which app, until when, record and file limits), recent credit changes, usage in the last 30 days and where to add credits.

nc_preview Rebuild your app as a free 5-page interactive preview

Free 5-page interactive preview (core routes first); full site and add-ons unlock at checkout. Up to 5 pages (index plus primary navigation routes by default, or pages the owner picks) are rebuilt from the uploaded app file as React pages on sample data, then checked and scored automatically. Free, up to 5 previews per app. Nothing in the owner's app changes and nothing is charged. Typically takes about 3 minutes until the first page shows and about 7 minutes for all 5 pages (recorded runs), so call nc_preview_status every minute or so to follow it. Asking again for the same job returns the bu…

ParameterTypeDescription
job_id *stringThe job_id from nc_connect. The app file must already be uploaded and planned (nc_compile_plan).
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
pagesarrayNames of up to 5 pages, as listed by nc_compile_plan with detail full. Leave out to compile the 5 highest-priority core routes first.

nc_preview_status Follow the free preview build

Shows how the free preview is going: each page's state, its automatic score (visible text, working buttons, data fields, phone width), what it cost, and when the preview is deleted. Read only.

ParameterTypeDescription
job_id *stringThe job_id from nc_connect.
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.

nc_move Move a whole app, one step at a time

Moves a Bubble® app to the owner's own Cloudflare account in order: app file, free preview, price and payment, Cloudflare token (Bubble Data API key optional, only if you want existing records moved; structure, pages, and option sets move without it and it is addable later), deploy and go-live. Start with no arguments or pass job_id. Answers have say, do (next step and link) and then; tell the owner do in plain words and call again when done or told. Keys go only on the secure page, never in chat. After upload, call nc_move again to start the free preview. Uploads: 6/day per network, up to 20…

ParameterTypeDescription
add_onsarrayExtras to switch on (their ids from the list shown at the choose-extras step).
app_base_urlstringOptional. The app's address, for example https://yourapp.bubbleapps.io. Left out, it is read from the app file.
app_specobjectapp-spec.json from the audit plugin, instead of uploading the catalog.
close_jobbooleanAfter go-live: delete the tokens saved for this job and close it.
complete_pagesFor a built app whose pages still miss texts, buttons, fields or popup texts and whose free rebuilds are used up: true for every built page under the pass mark, or a list of page names. Adds the missi…
confirm_add_onsbooleanThe owner has chosen their extras (or none) and is ready to see the exact price.
confirm_go_livebooleanThe owner made the address switch by hand, without the wizard. Records the go-live.
confirm_price_usdnumberThe exact total in USD, as shown, once the owner has agreed to it. If the total changed since, the call says so and charges nothing. With no App Mover key it only confirms the total: card payment is t…
domainstringThe owner's domain for going live, for example example.com (with go_live_action domain).
go_live_actionstringOne step of the go-live wizard, as offered in result.go_live.actions: domain (with domain, and subdomain: true for one like app.example.com), free (the app's own address, live at once), connect, move_…
includestringMake the answer longer: checklist adds every step, full adds every detail.
job_idstringCarry on with this move (the job_id from the first call).
job_secretstringThe job_secret returned when this job was made (or the job's signed editor link). Required with job_id when no API key is sent: the job_id alone does not open a job.
new_linkbooleanMake a fresh secure link even if the last one is still valid (for example when it was lost).
pages_okbooleanThe owner has looked at the built pages and wants to go on (asked only when the server is set to stop for a look).
preview_add_onsarrayExtras whose demo is built by the model from the preview pages: mobile, ai_assistant, or the id of a described change. Each extra can be tried twice and an app six times in all; the tries are free.
preview_pagesarrayOptional. The pages (by name, as nc_compile_plan lists them) the owner wants in the free preview, instead of the automatic pick. Used when the preview is queued. Left out, the pages that do the most (…
rebuild_pagesarrayPages that are not right, each with a short note that goes to the builder as extra instructions. Notes made before the full build are used when it starts; notes on the built pages cause up to 2 rebuil…
refreshbooleanFor an app that is already live: update it to the latest App Mover fixes. Free, and only when a newer version exists (the answer says so in update_available). The pages are exported again with the cur…
remove_add_onsarrayExtras to switch off.
retry_nowbooleanStudio use: try a step now that is waiting for its next automatic retry. Never needed by the owner: problems on our side are retried by themselves.
sitemap_urlstringThe old app's sitemap, for the redirect list at the go-live step. Default: the app's own /sitemap.xml.
skip_databooleanMove the app without copying records, files, or users from Bubble (for example on a Bubble plan without the Data API, or a never-launched app). Records the owner's agreement. Database structure, priva…
skip_previewbooleanLeave out the free preview.
subdomainbooleanWith go_live_action domain: the owner wants a subdomain such as app.example.com.
versionstringWhich database to read when starting. Default live.