Skip to main content
You’ll connect your subscription, add your codebase, watch Onlook start your app, and start designing.

Before you start

  • Install Onlook, sign in, and install the tools your codebase needs.
  • Have your codebase on your Mac. If you want to send your work back as a pull request later, use a clone of your team’s GitHub repository. If you don’t have one, ask an engineer for a copy that runs with the project’s normal dev command.
1

Connect Claude or ChatGPT

After you sign in, Onlook asks how you heard about it, then shows Use your own AI. Choose Sign in with Claude Subscription or Sign in with ChatGPT Subscription, and follow the steps until the tile says Connected. Then choose Continue.For help with this step, see Connect your AI.
2

Add your codebase

On Create your first workspace, choose Add codebase, then From a folder. Pick the folder with your code and choose Use this folder. If you’ve already set up Onlook, choose Add codebase on the projects page instead.Onlook works on its own copy of your code, so your files stay as you left them, and nothing is uploaded to Onlook. See How Onlook keeps your code safe.
3

Watch your app start

The editor opens, and Onlook makes its copy of your code, installs your app and starts it. The chat shows each step as it happens, and names your copy and the branch Onlook made for it.When your app is running, it appears in a frame on the canvas. If the frame says This app hasn’t started yet., press Start in the toolbar at the bottom of the canvas.If your codebase holds more than one app, or something else is using your app’s port, the agent asks in the chat which to use. Answer it there.
4

Start designing

In the chat box, where it says Ask for a change…, ask for something easy to spot, such as “Make the main heading on the home page say Hello from Onlook.” Press Return.To point at something specific, click it in the frame first, then ask in the box that appears beside it.
5

See the result

Each thing the agent does appears in the chat as a row, such as Reading, Editing or Running. When it’s finished, the chat says Done — look at and names the frame, and that frame shimmers.Most apps update on their own. If yours doesn’t, open the frame’s menu and choose Reload.To click through your app like a visitor, switch to Preview (press P). To go back to selecting and editing, switch to Design (press D).

Where your work lives

The agent changed the code in Onlook’s copy, on its own branch. Your folder and your team’s repository stay as you left them. When you’re ready to share your work, look at the pill in the top bar. It shows the next step, such as Create PR. See The git status pill.

Find more to ask for

Open Tips in the lower-left corner of the editor, or press ⌘/. It has examples to try, like making variations, opening every page of your app, or matching a screenshot. Choose one, then choose Try it in chat to put it in your chat box. See Tips.

If something goes wrong

  • If Onlook won’t use your folder, the dialog says why. See Troubleshooting.
  • If macOS asks to install developer tools, choose Install, then Retry. See Install Onlook.
  • If setup stops at a step, the message in the chat names the step, and Retry repeats it. See Troubleshooting.
  • If the frame shows a message instead of your app, see Troubleshooting.