Skip to content
Aivah

Preview and refine your app

Try your app in Preview, look through the code, and ask for changes until it's exactly right.

Who it's for
Anyone improving an Aivah Code project after the first build
You'll be able to
Test your app like a user and get each change right with clear, specific requests.

Your first build is a starting point. Test it in Preview, then ask for changes in plain words, one clear request at a time.

Before you start

Open your project from Create → Aivah Code → My projects, and keep your original brief handy.

Steps

1. Open Preview

Choose Preview to use your app as a visitor would. Click through the main journey with test data: forms, buttons, screens with no data yet and the final step.

2. Check it on a phone-sized screen

Switch the preview between Desktop, Tablet and Phone, or Fit to pane. Check that menus, buttons and text are easy to use.

3. Inspect Code

Choose Code to browse the file tree, search files and code, open terminals, and read the console and preview logs. You don't need to edit anything. To change a file, ask Aivah Code in the chat.

4. Check Environment

Choose Environment to see the project's database and add the secret values your app needs. The database connection is managed for you. See Environment and publishing.

5. Ask for changes

In the project conversation, say where, what and why. For example: "On the menu page, make the category filters stick to the top when I scroll, so phone users can switch categories quickly."

Build mode makes the change right away. Use Plan to approve a plan first, or Ask to talk an idea through. To change one thing on screen, choose Select an element to edit with AI and click it in the preview. To try a new look, use Preview colour and Preview font, then ask Aivah to make the change in your code. If a build fails, choose Fix with AI.

6. Share or download

Use Copy temporary preview link to show the current version to a colleague. The link stops working when the sandbox stops, so publish for a lasting link and share it with Copy live site link. Choose Download code as ZIP to keep a copy of the code.

Good to know

Group related changes into one clear request. It gets better results, and uses fewer credits than many small requests.

Troubleshooting

  • The preview doesn't load: choose Restart preview. If it still doesn't load, contact support with the project name and the message you see.
  • Files show Syncing: give them a moment to load before you look again.
  • A change didn't happen: open the page it should affect and check again. Then repeat the request, naming the page and the exact element.
  • Something is cut off on phones: name the page, the screen size and the element in your next request.

Next steps

Set up Environment and publish your app.