The short answer
To move from Google AI Studio to WordPress, export the app as a ZIP or sync it to GitHub, keep Gemini and database features out of scope, then have an AI agent connected through UiChemy AI to WordPress, or Composer, rebuild the public pages on staging.
What you need
- A web app in Google AI Studio Build mode whose public screens are finished.
- Either a GitHub account for two-way sync or a place to save the ZIP export.
- A staging WordPress site reachable over HTTPS, with an Administrator account.
- The UiChemy plugin, plus an MCP client such as Cursor, Codex, Claude Desktop or Antigravity, with Node.js 18 or newer.
- A list of every screen that calls Gemini, Firebase or a Google Workspace service.
Step by step
Check what you actually built
Build mode makes web apps with a React client by default and a Node.js server runtime, or native Android apps. Only the web pages are candidates for WordPress. An Android project has no page to move.
Mark the server dependent screens
Open the Code tab and note anything that touches secrets, Firestore, sign in or Workspace APIs. Those features run on the server, so they need their own plan rather than a copy into a page.
Export a clean copy
Download the project as a ZIP, or open the GitHub tab in Settings and create or link a repository. Keep this copy untouched so you can compare it with the finished WordPress pages.
Connect your agent to WordPress
In the UiChemy plugin open the AI tab, generate the connection, which issues an Application Password, and paste the config block into your MCP client. Restart the client afterwards. Keep that password private.
Rebuild one page from the source
Open the exported folder in the same agent and ask for a single page first. Check the output in the browser before asking for the rest.
Read the home page component and its styles. Recreate it as an editable section on my staging site. Use the real text, keep headings in order, and list anything that depends on a server call.Replace the app features
Rebuild contact forms in WordPress. For a feature that calls Gemini, keep the published AI Studio app and link to it, or have a developer write a server side integration.
Test, redirect and switch
Compare every page with the original preview on desktop and phone. Add redirects for changed addresses, move the domain, and only then decide whether the old Cloud Run app should stay published.
What carries over and what does not
What you get
- Public pages stored in your own WordPress database and editable by your team.
- An exported copy of the original code for reference.
- A clear split between content pages and anything that still needs a server.
- The option to keep the AI app online next to the new site.
What does not carry over
- Server code, secrets, Firestore data and Firebase sign in do not become WordPress features.
- UiChemy does not list Google AI Studio by name among AI to WordPress sources, so treat this as an agent led rebuild and review every page.
- A ZIP run outside AI Studio needs the
GEMINI_API_KEYenvironment variable set on that host, and standard WordPress pages should never carry the key. - Android apps built in AI Studio are outside the scope of a website move.
Troubleshooting
Gemini features stop working elsewhere
Google says a downloaded app needs GEMINI_API_KEY in the new hosting environment. Do not place it in page HTML.
The agent flattens the layout
Ask for one section at a time and name the component file it should follow. Fix spacing before moving to the next section.
GitHub sync shows a conflict
AI Studio offers a Resolve conflicts dialog with a side by side diff. Settle the repository first, then export again.
The old URL is still taken
An ai.studio subdomain is freed only after you unpublish or delete that app, so plan the order if you want to reuse the name.
Frequently asked questions
Can I export code from Google AI Studio?
Yes. Google documents two routes for Build mode projects: download the generated code as a ZIP file, or sync with a new or existing GitHub repository. The GitHub route is two-way, so changes made locally can be pulled back into AI Studio from the settings tab.
Can I paste an AI Studio app straight into WordPress?
Pasting rarely works well. Build mode generates a React front end with a Node.js server by default, while a WordPress page expects content and styles. Rebuild the visible sections as editable blocks or Composer sections, and leave server logic in an application that can run it.
How is AI Studio hosting handled?
Publishing from Build mode puts the app on Cloud Run. Google describes a Starter Tier that lets eligible accounts publish up to two apps without a billing account, while custom domains need a paid Google Cloud project. Cloud Run charges may apply based on usage.
Does the Gemini API key move with the pages?
No, and it should not. AI Studio keeps the key as a server side secret. If you host the downloaded app yourself, you set the environment variable there. A normal WordPress page has no safe place for it in front end code.
Is Composer an alternative to connecting an agent?
Yes. Composer is a visual editor that holds real HTML, CSS and JavaScript inside Elementor or Gutenberg, and you can work by hand or by chat. Composer for non-coders shows how to adjust generated code without writing it yourself.
What if I built with a different tool?
The sorting step stays the same: public pages move, application logic is planned separately. Lovable to Elementor covers another source, and AI to WordPress for agencies describes repeating the process across client work.



