Help Center

Genspark CodeTry Now

Genspark Code

Genspark Code builds websites, web apps and Android apps from a prompt. You describe what you want, the agent writes the project, and you preview it, change it and publish it from one workspace.

Start with the Quick start. To put a site online, go to Publish and host.

Video thumbnail

What is Genspark Code?

Genspark Code is Genspark's agent for building software without writing the code yourself. You pick a category, such as a website or a mobile app, and describe the project in the chat box. The agent creates and edits the project files, and a live preview shows the result as it changes.

Genspark Code can:

  • Build a website or web app from a description
  • Build a full-stack app with sign-in and a database
  • Build an Android app and give you a file to download
  • Work on code you already have, from a GitHub repository or your own server
  • Publish a site to a Genspark address, with your own domain if you want one
  • Keep a Save Point after every change, so you can go back
Video thumbnail

Genspark Code overview: a prompt typed, a site built in the preview, and then published

Learn more in the Genspark Code blog post.

Two terms come up throughout. A project is one thing you're building, with its own files, chat and Save Points. The workspace is the screen that opens when you start a project, with the chat on one side and the preview and tabs on the other. A sandbox is the isolated environment where a full-stack or existing-GitHub project runs.

What you can do

Six jobs cover most of what people bring to Genspark Code. Paste the prompt, then change the subject to your own. All the recipes are under Recipes.

What you get Prompt to paste Full recipe
A small website Build a one-page website for a neighborhood bakery with a hero section, a menu with prices, opening hours and a contact section. Build a simple website
An app with accounts Build a task tracker where people sign up, log in and see only their own tasks. Build an app with accounts and a database
A changed page Make the header sticky and change the accent color to dark green. Change a page
An Android app Build a habit tracker app with a daily checklist and a weekly summary screen. Build an Android app
A live site No prompt. Use the Publish tab. Publish a site
Your files on your computer No prompt. Use Download files. Download or push your project

Quick start

Before you start: a Genspark account, because Genspark Code needs you to sign in, and some credits in your balance. Credits and plans explains what uses them.

  1. Open Genspark Code. Go to genspark.ai/code, or hover Agents in the sidebar and choose Code in the Build Suite section. You can also click the Code card in the BUILD SUITE section of the homepage.
  2. Choose a category tab. Web is selected when the page opens. Categories and starting points lists the others.
  3. Click Start on a starting point. For a first website, use Simple Website or Web App.
  4. In the chat box, describe what you want to build. The box reads "Describe what you want to build or develop...". Say who the project is for and what it has to include.
  5. Check the Preview tab. Ask for changes in the chat, or edit visually with Edit Mode.
  6. When you're happy, publish the site from the Publish tab, or download the files.

genspark code home figure

Start a project

Categories and starting points

The Genspark Code home page asks "What are you building?" and shows a row of tabs. Pick a tab, then click Start on a starting point. Genspark Code sets up a workspace and opens the project.

Tab Starting points Use it for
Projects Your existing projects Picking work back up. Shown when you're signed in. See Projects tab.
Web Simple Website or Web App, Full‑Stack Websites or App Websites and web apps
Mobile Apps Native App Development Android apps. See Mobile apps.
E-commerce Shopify Development And Manager Shopify stores
Existing code Existing GitHub Project, Bring Your Own SSH Server Code you already have. See Existing code.

Web is the default tab. Each starting point has short tags on its card.

The two Web starting points suit different projects:

Starting point Tags on the card A good fit
Simple Website or Web App Quick prototypes, Landing pages, Built-in DB A landing page, a prototype or a small site with a built-in database
Full‑Stack Websites or App Hono · Node.js, Auth + DB, Cloudflare Pages An app with sign-in, account management, a backend and a database

The Web tab also has a card named A website that collects responses, with a Use form template button.

For E-commerce, the card is tagged Shopify, Themes and Store ops, and the workspace has a Shopify tab.

Templates

Below the starting points, Start from a template shows ready-made projects. Filter chips narrow the list. All Templates shows everything, and the category chips differ by tab. Web has Restaurant, Service, Personal, Data exhibition and Others. Mobile Apps has App. E-commerce has E-commerce. Existing code has no templates. View all templates opens the full template page.

Projects tab

The Genspark Code home page has a Projects tab in the category row. It shows the projects you've built with Genspark Code so you can pick work back up where you left off. It appears when you're signed in.

  • Each project card is a direct link into the project, with no step in between.
  • Pinned projects stay at the top of the list across pages. Each card shows a cover thumbnail and when it was last edited.
  • There's no search box or filter. The list shows 24 projects at a time, and the Load more button loads the next page.
  • The tab lists code projects only, and deleted ones are left out. It's not a general history, so it won't show AI Slides, AI Docs or Super Agent work.

The Projects tab isn't the page's default view. The home page still opens with Web selected, so switch to Projects when you want to get back to your work.

When there are no projects yet, the tab shows "No projects yet" and a Start building button, which takes you to the Web tab. A project with no name appears as Untitled project. If the list fails to load, you'll see "Couldn't load your projects." and a Retry button.

Don't confuse this tab with the recent-projects drawer. The Genspark Code page also has an older recent-projects drawer, a slide-out from the top-left that opens your project list. Its button's tooltip reads "Task List". The drawer is a separate feature, and it still works alongside the Projects tab.

Build and edit

The project workspace

Once you click Start, the project opens in the workspace. The chat is where you give instructions. The tabs hold the files, the preview and the publishing tools. Which tabs you see depends on the project type.

Project type Tabs
Simple website Preview, File Explorer, Database, Git, Publish, Skills, Tutorial
Full-stack website or app, Shopify, and Existing GitHub projects. Existing GitHub projects hide Preview and Publish. Preview, File Explorer, Commit History, Publish, GitHub, Scripts, Skills, Tutorial, Metrics, AI. Shopify projects add Shopify and projects on your own server add SSH.
Mobile app Preview, File Explorer, Git, Publish, GitHub, Scripts, Firebase, AdMob, Tutorial

What the main tabs do:

Tab What it's for
Preview Shows the project running. See Preview and visual edit.
File Explorer Lists the project files. You can open and edit a file, attach it to the chat, download it or upload a zip. See Edit files.
Database Shows the development database in a simple website. See Databases.
Git and Commit History Show the history of changes. Every turn is saved to a private repository. See Save Points and history.
Publish Puts the project online or builds an Android file. See Publish and host and Mobile apps.
GitHub Connects a GitHub repository. See Existing code.
Scripts Holds backups of a sandbox project. See Export your project.
AI Holds API keys for the project.
Tutorial Opens a step-by-step guide for the project type. See Tutorials.

People with view-only access to a project don't see the Publish, Skills, GitHub or Scripts tabs. Share a project covers sharing.

genspark code workspace figure

Chat with the agent

You build by describing. Type an instruction in the chat box, and the agent writes or edits the project files. The preview refreshes as the files change.

A few habits help:

  • Describe the audience and the content, such as "a landing page for a dentist's office with services, hours and a booking form."
  • Make one change per message. Smaller instructions are easier to check and to undo.
  • Ask for a plan first on a larger project. Say "Create a plan first, and wait for my approval." The agent only plans when you ask. There's no fixed planning step.
  • Deploying is your call too. You publish from the Publish tab, or you can ask the agent to deploy.

The File Explorer has an @ option that attaches a file to the chat, so the agent knows which file you mean.

Preview and visual edit

The Preview tab runs the project. These controls sit above it:

Control What it does
Edit Mode Lets you change the page visually. Click Save to keep the change or Cancel to drop it.
Full Width, Tablet (1024px), Mobile (390px) Shows the page at that width, so you can check a layout.
Open in new window Opens the preview in a separate browser window.

On an Android app project, the preview appears inside a phone frame.

Edit files

Open the File Explorer to see every file in the project. You can edit a file and save it yourself, and download a single file. In a sandbox project, Upload File accepts a .zip.

The files are read-only while the agent is working on a turn. Wait for the turn to finish before you edit by hand.

Choose a model

The model picker sits in the chat box. Genspark Code shows the list of models by name. There's no Standard or Ultra tier button.

  • Each project keeps its own model choice. It doesn't follow the model you picked in AI Chat.
  • On a Free plan with fewer than 500 credits in your balance, the higher-cost models are greyed out with a lock and an Upgrade badge. Clicking one opens the pricing page.

Credits and plans explains how model choice affects credits.

Save Points and history

Every turn creates a Save Point. A Save Point menu at the top of the panel lists them, and you can jump back to an earlier one. Go back to an earlier Save Point has the steps.

Genspark Code also commits every turn to a private Genspark Git repository, called SB-Git. The Git or Commit History tab shows the history, and Open in SB-Git opens the repository itself.

Publish and host

Everything about going live is in one Publish tab. It covers hosting, custom domains and analytics. Hosting needs a paid plan, as Credits and plans explains.

Choose where to publish

The Publish tab offers these places:

Option What it is
Genspark Hosting Marked Recommended. "One-click hosting by Genspark. Free SSL, custom domains, access control & analytics. No setup needed." You need Plus, Pro or a Team or Enterprise seat.
Your own Cloudflare Marked Advanced. You use your own API token and your own Cloudflare bill.

Sites on Genspark Hosting go live at an address ending in .vip.gensparksite.com. After you publish, the tab shows Overview, Settings and Analytics panes for the site.

To redeploy after a change, publish again from the same tab.

Unpublish removes the hosted site. It doesn't delete your project files.

HTTPS redirect is on by default for a hosted site. The owner can turn it off with the Enforce HTTPS switch.

Note: The Advanced options include Rebuild database. It wipes the live database.

Recipe: Publish a site has the steps.

Quick Share

Quick Share is an older way to share a project. It's now labeled "Deprecated deployment method · Plus / Pro only" and appears only on projects that already have a Quick Share link. New projects use Genspark Hosting.

The project's owner can take a Quick Share page down. In the Publish tab, choose Stop publishing next to the Quick Share link and confirm "Stop publishing this page?". The page URL stops working immediately, and your project and data are kept. Deleting the project also takes the page down.

Custom domains

A hosted site can use your own domain. Click Bind Domain and point your domain to the target address shown, using a CNAME record at your domain provider. Then click Check Status to see whether the domain is connected. Unbind removes the domain from the site. If you don't have a domain, Buy Domain lets you get one. Connect your own domain has the steps.

Databases

A project that uses a database has two, and they stay separate.

Database Where it lives Notes
Development database In the workspace. A simple website shows it in the Database tab. What the preview uses
Live database Created when you publish Not synced with the development database

Data you enter while testing in the preview doesn't appear on the live site, and the other way around. The live database has Export and Import. Import offers Merge or Replace.

Control who can open a site

A published site is public by default. The site owner can limit access in the Settings pane, under Access Control.

Setting What it does
Require Genspark login to access this site Visitors have to sign in before they open the site
Sign in with Genspark (share profile) One way to sign in when login is required
Restrict by email allowlist Another way. Add Allowed emails or Allowed email domains.

You can also set rules by page path and request method. There's no password option.

An organization admin can go further and keep every hosted site to members of the organization. Organization controls and data covers it. Limit a site to signed-in people has the steps.

Mobile apps

Choose Mobile Apps and the Native App Development starting point to build an app. Genspark Code builds it as a cross-platform app. The preview shows it in a phone frame on the web. The app keeps data on the device by default. Firebase is optional if you want sign-in or sync. The project also has Firebase and AdMob tabs.

In the Publish tab, you build the app as a file you download:

File What it is
Release APK An Android package you can install directly
App Bundle (AAB) The format Google Play recommends for uploading an app

Enter an App Name and a package name, which is the unique ID of your app, then build the file and download it. Genspark Code builds Android files only. There's no iOS build. Build an Android app has the steps.

Existing code

Choose the Existing code tab to work on code you already have. There are two starting points.

Starting point What it does
Existing GitHub Project Connects a GitHub repository. In the GitHub tab, click Authorize GitHub App, pick a repository and work on it.
Bring Your Own SSH Server Works on a server of your own. The workspace shows an SSH tab.

An Existing GitHub Project runs in a temporary sandbox. The sandbox pauses after about 1 hour of inactivity and is deleted within hours. Push your changes to GitHub to keep them. This kind of project doesn't have a Preview or Publish tab.

In other sandbox projects, Upload File in the File Explorer accepts a .zip, which is another way to bring code in.

Work on an existing GitHub project has the steps.

In a shared sandbox or mobile app project, only the project's owner can change the linked GitHub repository. A collaborator can download the normal files, but not the GitHub sign-in files (such as .git-credentials, .gitconfig and .netrc). If a collaborator sees a message that the connection "could not be restored without the project owner's GitHub access", the owner needs to send a message in the project to restore it, and then the collaborator tries again.

Export your project

You can take your files out of Genspark Code. Downloads aren't limited by plan.

What How
The whole project Click Download files in a simple website. You get a ZIP. Only the owner and editors can do this.
One file Use Download in the File Explorer
A backup Use the Scripts tab in a sandbox project
Your own repository Connect GitHub and ask the agent to upload your code to GitHub
The private Genspark repository Every turn is committed there. Click Open in SB-Git.

Download or push your project has the steps.

Credits and plans

Genspark Code runs on credits. Each turn uses credits, based on the model you chose. Genspark Code doesn't use Free Quota. It uses credits only.

What How it works
Building and editing Uses credits, by model usage
Creating a project with no balance Blocked until you add credits
Genspark Hosting Plus, Pro, or a Team or Enterprise seat. Free and Go accounts see a lock and Upgrade Now.
Downloading files Not limited by plan
Quick Share Plus or Pro, and only for projects that already have a link
Higher-cost models Greyed out on a Free plan with fewer than 500 credits

For how credits work in general, see the Credits guide. For plans, see Membership plans and Team and Enterprise plans.

Organization controls and data

This section is for admins of a Team or Enterprise organization, and for anyone who needs to answer a security review.

Turn Genspark Code off for members

An admin can block Genspark Code in Team admin, under Policies, with the Feature Block-List or Allow-List. The block covers genspark.ai/code, genspark.ai/ai_developer and every code project type. A blocked member who opens the page goes to the Genspark home page with no message, and the entry is hidden.

Keep hosted sites inside the organization

Published sites are public by default. An admin can go to Team admin, open Hosted Sites and turn on Restrict Hosted Sites to Org Members. It's off by default. Site owners can also use Access Control on a single site.

What stays in Genspark

Question Answer
Who sees a member's published site? Anyone, unless the owner or the organization restricts it
What happens to published sites when an account is deleted? The sites stop serving

Tutorials

Genspark Code has a Tutorial tab inside each project's workspace. Click Start on a starting point first, then open Tutorial for a step-by-step guide to that project type. The home page itself has no tutorial panel. For the complete tutorials, visit genspark.ai/code.

Recipes

Ten recipes in four groups. Prompts are samples. Change the subject to your own.

Build

1. Build a simple website

For: a landing page, a prototype or a small site with no accounts.

Prepare: what the site is for, who it's for and the sections you want.

Steps:

  1. Open Genspark Code and stay on the Web tab.
  2. On Simple Website or Web App, click Start.
  3. In the chat box, paste the prompt below.
  4. Open the Preview tab and check the layout. Use Tablet (1024px) and Mobile (390px) to see smaller screens.
  5. Ask for changes, one at a time.
Build a one-page website for a neighborhood bakery with a hero section, a menu with prices, opening hours and a contact section.

You get: a project with its files in the File Explorer and a live preview.

If it stalls: if the preview doesn't match what you asked, say what's different in the chat. Or go back to an earlier Save Point.

Related: Categories and starting points.

2. Build an app with accounts and a database

For: an app where people sign in and keep their own data.

Prepare: who the users are, what they store and what they see after they sign in.

Steps:

  1. On the Web tab, click Start on Full‑Stack Websites or App.
  2. Paste the prompt below.
  3. When the first version appears, ask for the screens you need, such as "Add a page where a user can edit their profile."
  4. Test it in the Preview tab. Remember that data you enter there stays in the development database.
Build a task tracker where people sign up, log in and see only their own tasks.

You get: a full-stack project with sign-in, a backend and a database.

If it stalls: this project type runs in a sandbox that pauses after about 1 hour of inactivity. Reopen the project to wake it.

Related: Databases.

3. Build an Android app

For: an Android app you can install or upload to Google Play.

Prepare: what the app does and the screens you want.

Steps:

  1. Open the Mobile Apps tab and click Start on Native App Development.
  2. Paste the prompt below.
  3. Try the app in the phone frame on the Preview tab. Ask for changes.
  4. Open the Publish tab. Enter an App Name and a package name.
  5. Build a Release APK to install directly, or an App Bundle to upload to Google Play. Download the file.
Build a habit tracker app with a daily checklist and a weekly summary screen.

You get: an Android file on your computer.

If it stalls: Genspark Code builds Android files only. For an iOS app, you'd need another tool.

Related: Mobile apps.

Change and recover

4. Change a page

For: a layout or style change on a project that's already built.

Steps:

  1. Open the project from the Projects tab.
  2. To change by prompt, describe one change, as in the prompt below.
  3. To change visually, click Edit Mode above the Preview. Make the change, then click Save.
  4. Click Cancel if you don't want to keep a visual change.
Make the header sticky and change the accent color to dark green.

You get: the updated page, with a new Save Point for each turn.

If it stalls: the files are read-only while the agent works. Wait for the turn to finish, then try again.

Related: Preview and visual edit.

5. Go back to an earlier Save Point

For: undoing a change that went the wrong way.

Steps:

  1. Open the Save Point menu at the top of the panel.
  2. Choose the Save Point from before the change.
  3. Check the Preview to confirm it's the version you wanted.

You get: the project as it was at that Save Point.

If it stalls: every turn is also committed to a private repository. Check the Git or Commit History tab, or click Open in SB-Git.

Related: Save Points and history.

Publish and share

6. Publish a site

For: putting a project online at a public address.

Prepare: a plan with hosting (Plus, Pro, or a Team or Enterprise seat) and a project that looks right in the preview.

Steps:

  1. Open the Publish tab.
  2. Choose Genspark Hosting.
  3. Publish the site.
  4. Check the site's address. It ends in .vip.gensparksite.com.
  5. After later changes, publish again from the same tab to redeploy.

You get: a live site. Data in the live database is separate from what you tested in the preview.

If it stalls: on a Free or Go plan the tab shows a lock and Upgrade Now. Credits and plans lists what each plan includes.

Related: Choose where to publish.

7. Connect your own domain

For: showing a hosted site at your own address.

Prepare: a domain, and access to its DNS settings.

Steps:

  1. Open the Publish tab for the site.
  2. Click Bind Domain and enter your domain.
  3. At your domain provider, add a CNAME record that points to the target address shown.
  4. Click Check Status.
  5. To remove it later, click Unbind.

You get: the site on your domain, once the status check passes.

If it stalls: confirm the CNAME record matches the target exactly, then click Check Status again. If you don't own a domain yet, Buy Domain lets you get one.

Related: Custom domains.

8. Limit a site to signed-in people

For: a site that only some people should open.

Prepare: a published site and, for the email option, the addresses or domains you'll allow.

Steps:

  1. Open the site's Settings pane in the Publish tab.
  2. Under Access Control, turn on Require Genspark login to access this site.
  3. Choose Sign in with Genspark (share profile) or Restrict by email allowlist.
  4. For the allowlist, add Allowed emails or Allowed email domains.

You get: a site that asks visitors to sign in first.

If it stalls: there's no password option. Use the allowlist for a short list of people.

Related: Control who can open a site.

Bring code in and take it out

9. Work on an existing GitHub project

For: improving code that's already in a GitHub repository.

Prepare: a GitHub account with access to the repository.

Steps:

  1. Open the Existing code tab and click Start on Existing GitHub Project.
  2. Open the GitHub tab and click Authorize GitHub App.
  3. Pick the repository.
  4. Paste the prompt below.
  5. When you're done, tell the agent: "Upload my code to GitHub."
Read this repository, explain how it's organized and list the three files I should look at first.

You get: your changes in your repository.

If it stalls: the sandbox pauses after about 1 hour of inactivity and is deleted within hours. Push to GitHub before you leave.

Related: Existing code.

10. Download or push your project

For: keeping a copy of your project, or moving it to your own repository.

Steps:

  1. To get the whole project in a simple website, click Download files. You get a ZIP.
  2. To get one file, open the File Explorer and use Download.
  3. To send the project to GitHub, connect GitHub in the GitHub tab and ask the agent to upload your code.
  4. To see the commit history, click Open in SB-Git.

You get: a copy of your files on your computer or in your repository.

If it stalls: only the owner and editors can use Download files.

Related: Export your project.

Troubleshooting

Symptom What it usually is Where to go
The page sends me to the home page An admin blocked Genspark Code Blocked
The Publish tab shows a lock Hosting needs a paid plan Publish locked
My live site has no data from testing Development and live databases are separate No data
My GitHub project's sandbox is gone It's temporary Sandbox gone
A project is missing from the Projects tab It's not a code project, or it was deleted Missing project
I can't edit a file The agent is working Read-only
I can't create a project Your credit balance is empty No credits
A premium model is greyed out Free plan under 500 credits Greyed model
My domain doesn't connect The CNAME record doesn't match Domain
Quick Share is missing It's deprecated Quick Share

The page sends me to the home page

Your organization's admin may have blocked Genspark Code. A blocked member goes to the home page with no message, and the entry is hidden. Ask your admin. See Turn Genspark Code off for members.

The Publish tab shows a lock

Genspark Hosting needs Plus, Pro, or a Team or Enterprise seat. Free and Go accounts see a lock and Upgrade Now. You can still download your files.

My live site has no data from testing

The development database and the live database are separate and aren't synced. Add the data on the live site, or use Import on the live database. See Databases.

My GitHub project's sandbox is gone

An Existing GitHub Project runs in a temporary sandbox. It pauses after about 1 hour of inactivity and is deleted within hours. Start a new project from the same repository. Push to GitHub before you leave, so changes aren't lost. See Existing code.

A project is missing from the Projects tab

The tab lists Genspark Code projects only, and deleted projects are left out. AI Slides, AI Docs and Super Agent work doesn't appear. The list loads 24 at a time, so click Load more. If you see "Couldn't load your projects.", click Retry. See Projects tab.

I can't edit a file

Files are read-only while the agent works on a turn. Wait for it to finish.

I can't create a project

Creating a project with no credit balance is blocked. Add credits, then try again. See Credits and plans.

A premium model is greyed out

On a Free plan with fewer than 500 credits, the higher-cost models are greyed out with a lock and an Upgrade badge. Clicking one opens the pricing page. See Choose a model.

My domain doesn't connect

Check that the CNAME record at your domain provider matches the target address shown after you click Bind Domain. Then click Check Status. See Custom domains.

Quick Share is missing

Quick Share is deprecated. It appears only on projects that already have a Quick Share link. Use Genspark Hosting from the Publish tab. See Quick Share.

FAQ

The home page and projects

What is the Projects tab in Genspark Code?

The Projects tab lists the projects you've built with Genspark Code so you can reopen them. Each card links straight into the project. It lists code projects only, and it isn't the page's default view. The home page opens on Web, so switch to Projects to see your work. See Projects tab.

Why does the Genspark Code home page open on Web instead of Projects?

The Projects tab is an entry point, not the default. Web is selected when the page loads. Click Projects in the category row to see your projects.

Is Genspark Code the same as GenCode?

No. Genspark Code is the agent at genspark.ai/code that builds complete applications from a prompt. GenCode is a coding agent that works on code in a directory you choose, either in the Genspark Super App or from a terminal. See the GenCode article.

Can Genspark Design hand a project to Genspark Code?

Yes. In Genspark Design, Build it hands a website or app to Genspark Code. See Genspark Design.

What it can build

What languages and frameworks does it work with?

The in-product Tutorial for existing-code projects lists Python, JavaScript, TypeScript, Go, Rust, Java and C/C++, and the frameworks React, Vue, Django, Flask, Express and Spring. There's no stated list for the other project types.

Can I build an iOS app?

No. Genspark Code builds Android files only. See Mobile apps.

Does the agent plan, build, test and deploy on its own?

It builds and edits files from your instructions. It plans only when you ask for a plan, and a site goes live only when you publish it or ask the agent to deploy. See Chat with the agent.

Sharing and files

Can I share a project?

A project has a share link. People who open it get a read-only view, without the Publish, Skills, GitHub or Scripts tabs.

Do projects appear in AI Drive, SecondBrain or Team Drive?

Every turn is committed to a private Genspark repository, which you open with Open in SB-Git.

Can I take my code with me?

Yes. You can download the project, download single files, or push to GitHub. Downloads aren't limited by plan. See Export your project.

Cost

What does Genspark Code cost?

It uses credits, based on the model you choose. Hosting needs Plus, Pro, or a Team or Enterprise seat. Genspark Code doesn't use Free Quota. See Credits and plans.

Privacy, sharing and admin questions

Can an organization admin turn off Genspark Code?

Yes. An admin can block it with Policies in Team admin. A blocked member goes to the home page and doesn't see the entry. See Turn Genspark Code off for members.

Are published sites public?

Yes, by default. A site owner can require sign-in with Access Control, and an organization admin can keep every hosted site to organization members. See Keep hosted sites inside the organization.

Can I protect a site with a password?

No. Use Require Genspark login to access this site with an email allowlist.

What happens to my sites when I delete my account?

The sites stop serving. See What stays in Genspark.

Deploying safely: dev vs live data, backups, and recovery

How do I test changes without affecting my live site?

Your project has two separate databases, and Genspark never syncs one into the other:

  1. The development database is what you see in the Database tab while you build.
  2. The live database is created when you publish, and only your deployed site uses it.

The Database tab states this directly: "This is your development database — your hosted deployment runs on a separate live database, and the two are never synced."

So editing, breaking, or clearing data while you build cannot affect your live site's data. The reverse is also true: adding a row to your dev database will not make it appear on your live site.

To see or change live data, either ask the agent in chat — it can read and write the live database directly — or use the Export / Import Database tools below.

One thing worth knowing before you put real customer data in the built-in database: it is, in the product's own words, "optimized for quick demos and non-sensitive data. For production apps with sensitive data, consider external database solutions."

How do I back up my site's database?

A good habit: export before you deploy any change that alters your database structure.

For Genspark-hosted deployments:

  1. Open your project and go to the Hosted Deploy area of the Publish tab.
  2. Find Database Management.
  3. Select Export Database.
  4. Wait for the export to finish — you'll see Exporting... and then a confirmation telling you how many tables and records were exported.

The file you get back is a SQL backup file you can re-import through Import Database, so an export is a real backup rather than a read-only snapshot.

You can also export your development database separately with Export data in the Database tab. That is a backup of your dev data, not your live data — the two are different databases.

To back up your project's code rather than its data, use Backup to File → Download Backup in the project scripts panel. Note that this covers source files only.

If you deploy to your own Cloudflare account, use Cloudflare's own export and backup tooling for that database. Genspark's Export Database tool cannot reach a database in your Cloudflare account.

How do I restore a backup?

For Genspark-hosted deployments:

  1. Go to the Hosted Deploy area of the Publish tab, then Database Management.
  2. Select Import Database and choose your exported SQL file.
  3. Choose an import mode. This is the important step:
    • Merge Mode — "Keep existing data, add/update new records." Your current rows stay; the imported rows are added or update matching records.
    • Replace Mode — "Delete existing data and import new data."
  4. Select Confirm Import.

⚠️ Replace Mode deletes your existing data before importing. If you choose Replace Mode with an out-of-date backup file, you will lose everything that changed after that backup was taken. When you are trying to recover from a problem, Merge Mode is the safer choice — start there unless you specifically intend to wipe the current contents. There is no undo.

Because an import cannot be undone, take a fresh Export Database before running any import. That way the current state is recoverable even if the import is not what you expected.

My site broke after an update — what should I do before reverting?

Don't revert first. Reverting your project's code does not delete your live database — there is no step in a revert that drops or clears it. In most cases the data is still there and the site simply cannot read it.

The usual cause is a mismatch: the code you reverted to expects a different table structure than your live database now has. The site then fails to read data that is present, which looks exactly like data loss.

Check these first, in order:

  1. Hard-refresh the page (Ctrl+Shift+R on Windows, Cmd+Shift+R on Mac) and reload your site. A stale page can look like a broken deployment.
  2. Check whether the data is actually gone. Ask the agent in chat to read your live database — it has direct access. If the rows are there, this is a code or schema problem, not a data problem.
  3. Look at what the failing update changed. If it added, renamed, or removed a database column or table, that difference is the thing to fix.
  4. Ask the agent to fix it. If the deployment itself failed, the Hosted Deploy area offers Ask AI to fix the deployment, which sends the deployment error to the agent to diagnose.
  5. Only then consider reverting — and if you do, expect to line the database structure back up with whichever code version you land on.

If you do restore from a backup as part of recovery, re-read the Replace Mode warning above first.

Can I run a staging version of my site?

No. Genspark Code does not currently support a separate staging environment — there is no second deployed copy of your site to test against before your changes go live.

What you do get is the dev-and-live database separation described above: you can build and experiment freely without touching live data. But there is only one deployed site per project, so a deployment goes straight to the live one.

If you need a true staging site today, the workaround is to keep a second project as your test copy and deploy it separately. That is a manual arrangement, not a product feature — the two projects share nothing automatically.