Step 1 · GitHub
Create your GitHub account
GitHub holds your site's files and publishes the site. Creating the account is one of the few steps no agent can do for you.
On this page
A free account is all you need. Once the agent is connected to your account, it does almost all the GitHub work. The main exception is turning on GitHub Pages in your repo's settings, which you'll click yourself in Step 5.
Set up your account
-
Sign up
Go to https://github.com/signup (opens in a new tab) and follow the prompts. You can also sign up with your Google or Apple account.
-
Choose a short username
Your username becomes part of your site's address:
https://your-username.github.io/. Keep it short and lowercase, since you'll share it in every link. Changing it later breaks old links, so pick one you'll keep. -
Verify your email
GitHub asks you to verify your email address during sign-up. Do it right away. Until you do, you can't create or fork a repository, which this guide needs.
-
Turn on two-factor authentication
Recommended. It stops anyone who learns your password from getting in. Click your profile picture, then Settings → Password and authentication → Enable two-factor authentication. Use an authenticator app on your phone. Setting it up on the same phone as the app? You can't scan the QR code, so click setup key and type that code into the app instead. When GitHub shows your recovery codes, download them and keep them somewhere safe.
-
Keep your email private and copy your noreply address
Click your profile picture, then Settings → Emails. Tick Keep my email addresses private. GitHub then shows a private address that looks like this:
ID+your-username@users.noreply.github.comCopy it. You'll give it to the agent so your commits are credited to you, without putting your real email in your site's public history. Commit as yourself shows how.
-
Save your details in this guide
Save your details here once; every prompt in this guide fills them in.
If it goes wrong
The username I want is taken
Add a number or a hyphen, or try another spelling. Keep it lowercase.
GitHub won't let me create or fork a repository
Your email probably isn't verified yet. Open Settings → Emails and click Resend verification email under your address. Then click the link in the email GitHub sends. Check your spam folder if it doesn't arrive. Throwaway email addresses can't be verified, so use a real one.
Saved only in this browser.