---
title: "How to Deploy an App Built with Google AI Studio with Hostman App Platform | Hostman Docs"
description: "Learn how to deploy an app built in Google AI Studio using Hostman App Platform. Export your code to GitHub, connect your repository, and go live in minutes."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

Google AI Studio lets you build a working app from a single text prompt—the UI, logic, and code are generated directly in your browser, no local development environment needed. 

The catch is that your app lives inside the AI Studio sandbox. To share it with the world via a public URL, you need to export the project and deploy it somewhere.

This guide takes you from a finished AI Studio app to a live deployment on Hostman App Platform:

-   export your app's code to a GitHub repository;
-   connect the repository to Hostman App Platform;
-   configure the build and publish your app;
-   set up automatic redeployments on every code change.

By the end, you'll have a public URL for your app and a workflow where pushing changes to GitHub is all it takes to trigger a new build.

## Prerequisites

Before you start, make sure you have:

-   an app built in [Google AI Studio](https://aistudio.google.com/);
-   [a Hostman account](https://hostman.com/signup/) to deploy your app.

You will also need a GitHub account which we'll cover in Step 1, if you don't have it yet.

AI Studio runs in the browser at [aistudio.google.com](https://aistudio.google.com/) and exports code via a built-in GitHub integration, which you connect through OAuth directly from the interface. 

> [!NOTE]
> Make sure you use the same GitHub account in both AI Studio and Hostman. This ensures that repositories created through AI Studio are visible when you connect your account to Hostman.

## Step 1. Create a GitHub Account

You'll need GitHub to store your app's code and connect it to Hostman.

If you already have one, sign in and skip to the next step.

1.  Go to [github.com](https://github.com/) and click **Sign up**.
2.  Register using your Google account, Apple account, or email address.

Once registered, you'll land on your GitHub dashboard.

![0902d2f9 709a 41df B496 De8fb6ff0a11.png](https://content.hostman.com/assets/1fb8456b-5bb6-4223-9231-66021cafbf3f.png?width=1999&height=1142)

_[GitHub](https://github.com/) Dashboard_

## Step 2. Connect GitHub to AI Studio

In this step, you link AI Studio to GitHub and push your app's code to a new repository.

**In AI Studio:**

1.  On the **Build** page, click the settings icon (gear) in the top-right corner.
    
2.  Go to the **GitHub** tab.
    
3.  Click **Sign in to GitHub to continue** and complete the OAuth flow. GitHub may ask you to confirm your login via email—this is expected. 
    

If your account is already connected, you'll see the **Sync to GitHub** form straight away.

![Image3](https://content.hostman.com/assets/70d770b6-e3ef-4fc0-b12e-3f15f1cb294a.png?width=1999&height=1061)

_"Sync to GitHub" option in the [Google AI Studio](https://aistudio.google.com/) interface_

4.  Fill in the repository details:
    
    -   **New repository name**: a name for your repository, no spaces.
        
    -   **New repository description**: a short description of your project.
        
    -   **Visibility**: leave it set to **Private** (the default). Private repositories work fine with Hostman when connected via your GitHub account.
        
5.  Click **Create GitHub repository**.
    
6.  In the **Sync to GitHub** window that opens, review the files to be pushed and click **Stage and commit all changes**.
    
7.  Open the repository on GitHub and confirm that all your project files are there.
    

## Step 3. Connect the Repository to Hostman and Deploy

With your code on GitHub, you're ready to deploy.

1.  Go to [hostman.com](https://hostman.com/) and sign in to your dashboard.
    
2.  Navigate to **App Platform** and click **Create App**.
    
3.  Select your application type:
    

-   **Frontend**: for static sites and SPAs;
    
-   **Backend**: for server-side applications;
    
-   **Docker**: if your project includes its own containerisation.
    

> [!NOTE]
> If you're not sure which stack your project uses, ask AI Studio: _"What framework does this project use?"_

4.  On the **Repository** step:
    

-   Click the **GitHub** icon and sign in to GitHub;
    
-   Grant Hostman access to your GitHub account;
    
-   Select your repository from the list.
    

![Image3](https://content.hostman.com/assets/8d1524b1-87b2-43dd-8e67-833e64c812d7.png?width=756&height=336)

If your repository doesn't appear, click **Add Account**, re-grant access, and refresh the list.

5.  Keep the **Build by last executed commit** option enabled. This tells Hostman to automatically rebuild and redeploy your app on every new commit.

![Image2](https://content.hostman.com/assets/63d73426-b1c3-4b7e-8a96-ee228258c3df.png?width=1154&height=140)

6.  Select a deployment region closest to your target audience to minimise latency.
    
7.  Click **Create** and wait for the build to complete.
    

## You’re Live!

Once deployed, Hostman assigns your app a public domain. Find it in **Dashboard** → **Domain**. You can share it right away or [configure](https://hostman.com/docs/app-platform/managing-apps/#custom-domain) your custom domain in **Settings**.

From now on, keeping your app up to date is straightforward:

1.  Make changes to your app in AI Studio.
    
2.  Open the GitHub panel and push the changes using the commit button.
    
3.  Hostman detects the new commit and automatically triggers a redeployment.
    

Your app stays live and up to date with every push.
