Build and Launch Websites with Claude Code and GitHub
- Build a real website with Claude Code
- Host it for free on GitHub Pages
- Connect a custom domain
Watch the step-by-step walkthrough below, then follow along with the guide to link your GitHub account to Claude Code so you can build and push projects directly from your sessions.
Need a hands-on walkthrough tailored to your business challenges? Book a 90-minute training session and we'll go through everything together.
15+ years in Digital Marketing · General Assembly · Skills Union · RevoU · Experience Effect · LightHouse Media
Follow these steps alongside the video to link your GitHub account to Claude Code.
Book a 90-minute training session and we'll build your AI-powered workflow together!
Common questions about connecting GitHub to Claude Code.
Connecting GitHub lets Claude Code read your existing repositories and push new code and commits directly from a session. Without the GitHub connection, Claude Code can still write code in a temporary Cloud environment, but it cannot persist changes to your repositories or deploy to services like GitHub Pages. The connection is required to build and ship real projects.
Claude Code requests OAuth access to your GitHub account to read repository contents and push commits. During the authorisation step on GitHub, you can choose to grant access to all repositories or restrict it to specific repositories only. Restricting to specific repos is recommended if you want to limit Claude Code's access to just the projects you are actively working on.
No. A free GitHub account is sufficient to connect to Claude Code and host public repositories on GitHub Pages. Paid GitHub plans are only needed if you want private repositories (though GitHub's free tier now includes unlimited private repos) or advanced team features. For most website-building and personal projects, the free tier is all you need.
Yes. You can revoke Claude Code's access to GitHub at any time from two places: in Claude Code's Settings → Connectors (remove the connection), and on the GitHub side under Settings → Applications → Authorized OAuth Apps (revoke access). Either approach immediately removes Claude Code's ability to read or push to your repositories.
Once GitHub is connected at the account level in Settings, the connection is available across all your Claude Code sessions. When you start a new session and select a Cloud environment, you can choose an existing GitHub repository as the working directory. Claude Code will clone it, make changes, and push commits back to GitHub as the session progresses.
Yes, provided the GitHub organisation allows OAuth app access. During authorisation, you will see an option to grant access to organisations you belong to. Some organisations require an admin to approve third-party OAuth apps — if access is blocked, contact your GitHub organisation admin to approve the Claude Code OAuth application.