Skip to main content
A pull request is how a change gets reviewed and added to a codebase on GitHub. Onlook keeps your changes on their own branch and opens the pull request from it. You take each step with the pill, the button in your project’s top bar that shows what your change needs next.

Connect GitHub

You connect GitHub once, when the pill says Connect GitHub.
1

Press Connect GitHub

Claude or ChatGPT signs you in with GitHub’s command line tool. If your Mac doesn’t have the tool, the agent walks you through installing it first.
2

Enter the code

The agent shows you a one-time code and a web address. Open the address, enter the code, and approve. The pill updates when you’re signed in.
If the pill says No Access instead, your GitHub account can’t reach this repository. The pill shows the repo and your account, followed by “ask an owner”. Ask someone who owns the repo to add you.

Open the pull request

1

Press Create PR

The agent prepares a pull request for your branch against your main branch.
2

Approve it

With Claude, a card asks for approval before anything reaches GitHub. Read it and choose Approve.
3

Share the link

When it’s done, the pill shows the pull request number. Click it to open the pull request on GitHub. Send the link to anyone who should review it.

Keep it up to date

After the pull request is open, the pill shows what it needs next. Reviewers may leave comments on the pull request. To act on one, paste it into the chat and ask the agent to address it, then press Upload Changes.

Who merges

Teams decide who merges, and many want an engineer to review and merge. If you merge your own changes, or your team wants you to merge from Onlook, switch the Ready to Merge menu to Merge. The agent then merges the pull request. With Claude, you approve the merge first.

Push to Main

Push to Main asks the agent to push your branch to GitHub without opening a pull request. Main stays as it is. To use it, open the menu next to the pill and choose Push to Main. On a team, keep Create PR so an engineer can review your change.