# Add Ishara to Google AI Studio

Add the feedback widget to an app made in Google AI Studio’s Build mode by asking the agent to add the script tag, then publishing.

- Where it goes: Build mode chat, or the Code tab
- Allowed domains: your own domain, plus your-app.ai.studio
- Time: about 3 minutes

## Steps

1. In Ishara, open **Sites → your site → Install** and copy the line under **Add the line to your site**. Your site’s key is already in it:

```html
<script src="https://useishara.com/w.js" data-site="pk_…" defer></script>
```

2. Open your app in Build mode and send the prompt below to the agent in the chat. Or open the **Code** tab in the preview panel and paste the line yourself, just before `</body>` in the app’s main HTML file.

```
Add this script tag to the app’s main HTML file, just before </body>, so it loads on every page. Keep it exactly as written and don’t change anything else.

<script src="https://useishara.com/w.js" data-site="pk_…" defer></script>
```

3. Click **Publish**, confirm the project and billing tier, then click **Publish your app**.
4. Open your site. Back on the **Install** page, **Check it’s live** turns into **The widget is live** as soon as the widget loads. Then open the **Reviewer link** from the same page: only people who open it see **Leave a note**.

## Good to know

- Publishing is free on the Google Cloud Starter Tier (up to two apps, for eligible accounts). Custom domains need a paid Google Cloud project, and the app keeps its `ai.studio` address too.
- If the widget doesn’t appear in AI Studio’s preview, open your browser’s console: the widget names the address it was blocked on; add that host to the site’s allowed domains.
- Firebase Studio no longer takes new workspaces and closes on 22 March 2027. Google suggests AI Studio or Antigravity instead.

Checked against the official docs on 2026-11-12: [Google AI Studio: Build mode](https://ai.google.dev/gemini-api/docs/aistudio-build-mode), [Google AI Studio: deploying apps](https://ai.google.dev/gemini-api/docs/aistudio-deploying), [Google AI Studio: custom domains](https://ai.google.dev/gemini-api/docs/aistudio-custom-domains), [Firebase Studio: migrating your project](https://firebase.google.com/docs/studio/migrating-project).
