2. Set Up GitHub Access

Give your OpenClaw assistant secure access to push code to your repository.

Why SSH Keys?

SSH keys let your assistant interact with GitHub without storing passwords or tokens in chat. It's more secure and only needs to be set up once per server.

What to Tell Your Assistant

"Generate an SSH key for GitHub access."

Your assistant will:

  1. Generate an SSH key pair on the server
  2. Show you the public key

Add the Key to GitHub

  1. Go to GitHub → Settings → SSH and GPG keys
  2. Click New SSH key
  3. Paste the public key your assistant provided
  4. Give it a name like "OpenClaw Server"
  5. Click Add SSH key

Tell your assistant:

"I've added the SSH key to GitHub. My repo is at https://github.com/your-org/your-repo.git"

Verify Access

Your assistant will test the connection by cloning your repository. If successful, they can now push code, create branches, and manage your site.

Already Have SSH Set Up?

If you've already configured SSH keys for your OpenClaw server, just tell your assistant where your repo is:

"I've cloned the Made With Claw template to https://github.com/your-org/your-repo.git — please clone it and verify access."