> ## AI Agent Context
> Get the complete documentation index at: https://aistudio.google.com/llms.txt
> Use this file to discover all available pages.
> For the full documentation in a single file, fetch: https://aistudio.google.com/llms-full.txt

# Publish your app in Google AI Studio

Google AI Studio lets you publish full-stack web apps directly from Build mode.
When you publish an app, AI Studio hosts it on a managed, scalable Cloud Run
service with a shareable URL.

## Publish options  {% id="deployment-options" %}

When you publish an app from AI Studio Build mode, requirements depend on the
project tier you use:

*   [**Google Cloud Starter Tier**](https://docs.cloud.google.com/docs/starter-tier):
  Lets eligible accounts publish up to 2 full-stack apps without setting up a
  Google Cloud project or billing account.

*   **Paid Google Cloud project**: Requires a Google Cloud project linked to your
  AI Studio account with Cloud Billing enabled.


## Starter Tier overview  {% id="about-the-starter-tier" %}

[Starter Tier](https://docs.cloud.google.com/docs/starter-tier) provides a path
to publish apps without setting up a Google Cloud project or billing account.
Eligible users get a Google-managed Starter Tier project with access to
[supported Google Cloud and Google services](https://docs.cloud.google.com/docs/starter-tier#supported-products).
If your app needs an unsupported service, use a standard Google Cloud project or
upgrade your Starter Tier project.

Each published app runs as a service in Cloud Run. Starter Tier apps have these
limits across your project:

* Publish up to two apps total.
* Host apps in a
  [single Cloud Run region](https://docs.cloud.google.com/run/docs/locations).

### Starter Tier eligibility  {% id="starter-tier-eligibility" %}

Not all accounts are eligible for the Google Cloud Starter Tier. Your account
may be ineligible if any of the following apply:

* You sign in with a Google Workspace account (including paid or free Google
  Workspace, Google Workspace for Education, or Google for Nonprofits).
* You have an active or prior paid Google Cloud billing account.
* We don't have enough evidence from your account activity to grant Starter Tier
  access yet.

The Google AI Studio support team can't override Starter Tier eligibility. If
your account isn't eligible, attach a billing account and
[publish with a paid Google Cloud project](/docs/aistudio-deploying#standard-deployment).

## Publish with the Starter Tier  {% id="starter-tier-deployment-steps" %}

After building your app in Build mode, publish it with the Starter Tier:

1. Click **Publish** in the top-right corner.
2. Click **Get started** (if shown), then confirm your project and click
  **Continue**.
3. Click **Continue with free URL** (if shown), then click **Publish your app**.

After publishing finishes, AI Studio provides a public URL where anyone can open
your live app.

{% callout type="note" %}
  If you already have 2 published apps on the Starter Tier, unpublish one of them
  or upgrade to a paid Google Cloud project before publishing another app.

{% /callout %}

## Custom URLs for AI Studio  {% id="custom-urls" %}

Google AI Studio offers two custom URL options when you publish a web app:

* **`ai.studio` subdomains**: Free built-in subdomains (for example,
  `https://your-app-name.ai.studio`), available on both the Google Cloud Starter
  Tier and paid Google Cloud projects.
* **Custom domains**: Your own registered domain (for example,
  `https://example.com`), available on paid Google Cloud projects.

The following sections describe how to configure each option and report
trademark issues.

### Subdomains under ai.studio  {% id="set-custom-url" %}

Each `ai.studio` subdomain is unique across AI Studio and available on a
first-come, first-served basis. If a name is unavailable, choose a different one
in the **Publish** panel. Unpublishing or deleting an app frees its subdomain
for anyone to claim.

To set an `ai.studio` subdomain when publishing:

1. Open your app in Google AI Studio **Build** mode and click **Publish** in the
  top-right corner.
2. Confirm your project and click **Continue** (if prompted). Expand **Free
  .ai.studio URL** and enter your preferred subdomain, or keep the suggested
  URL.
3. Click **Continue with free URL** (if shown), then click **Publish your app**.

To move an `ai.studio` subdomain to another app, unpublish or delete the current
app first. Then publish the new app using that subdomain.

### Custom domains  {% id="custom-domains" %}

On a paid Google Cloud project, buy and connect a domain (such as `example.com`)
from the **Publish** panel. You can also reuse a domain you bought in AI Studio.
We also plan to support transferring existing domains in the future.

AI Studio registers the domain in Cloud Domains, configures Cloud DNS routing,
and creates a managed SSL certificate. Your app also keeps its `ai.studio`
subdomain URL. See [Custom domains in Google AI Studio](/docs/aistudio-custom-domains)
for pricing, setup steps, subscription management, and quota requests.

### Report trademark or copyright issues  {% id="report-issues" %}

Custom subdomains must comply with the
[Google Terms of Service](https://policies.google.com/terms). Report a custom
URL that uses a trademarked or copyrighted name without permission through the
[Google Legal Troubleshooter](https://support.google.com/legal/troubleshooter/1114905).

## Publish with a paid Google Cloud project  {% id="standard-deployment" %}

As your apps grow, you might need capabilities beyond the Starter Tier. These
include [custom domains](/docs/aistudio-custom-domains), higher quotas, more
compute resources, and other Google Cloud products. To use these capabilities,
convert your Starter Tier project into a standard Google Cloud project.

Upgrading preserves your published apps and project resources. Follow the steps
to
[create a Cloud Billing account](https://docs.cloud.google.com/billing/docs/how-to/create-billing-account#create-new-billing-account),
accept the Google Cloud Terms of Service, and
[upgrade to a standard Google Cloud project](https://docs.cloud.google.com/docs/starter-tier#upgrade).
For more information, see
[Setup for Paid accounts](https://docs.cloud.google.com/billing/docs/in-product-billing-setup#paid-setup).

To learn more about billing tiers, see [Billing](/docs/billing).

## Delete your app  {% id="delete-application" %}

To delete an app in Google AI Studio:

1. Open your [Apps page](https://aistudio.google.com/apps) in Google AI Studio.
2. Hold the pointer over the app you want to delete and click the trash can icon
  on the right.
3. Confirm deletion. If a
  [custom domain](/docs/aistudio-custom-domains#manage-domain) is connected,
  choose whether to cancel or keep your domain subscription first.

## What's next  {% id="whats-next" %}

* Buy and connect your own domain in
  [Custom domains in Google AI Studio](/docs/aistudio-custom-domains).
* Learn more about the
  [Google Cloud Starter Tier](https://docs.cloud.google.com/docs/starter-tier).
* Read about [Billing](/docs/billing) in Gemini API.

