Vibe Coding ← Aurelion Earth

Step 5 of 5

Your domain and Google sign-in

Pick what you need: A for your own website address, or B for Google sign-in. Tap one to open it, then tap each step.

You will: Connect a custom address or configure branded Google sign-in, then troubleshoot common errors.

Before you start: Have a working hosted site. For part A, have your domain account ready; use part B only if your site needs Google sign-in.

Who does what

The AI doesThe code, the host settings, the GoDaddy clicks (in the Claude desktop app), and checking everything works.
You doSign in when GoDaddy asks (the AI never types your password), and set up Google sign-in yourself.

A. Connect your domain

A · Connect your domainyour own website address, like www.yourshop.com

Example: domain bought at GoDaddy, site on Railway. About 10 minutes, then up to a few hours of waiting.

  1. 0Connect Railway to Claude firstDo this first, once per computer. Step 1 needs it

    Claude needs permission to change things in your Railway account (add the domain, read the records). Pick one way:

    Way 1 · Sign in through the Railway plugin (easiest)

    1. In Claude Code, type /plugin and install railway (once).
    2. Type /mcp → choose railway → Authenticate.
    3. Your browser opens Railway → sign in → Allow. Back in Claude Code it says connected.

    Way 2 · A Railway token in a private file

    1. Create the token. Open railway.com/account/tokens (or click your name at the bottom-left → Account Settings → Tokens). Type a name like claude-myproject, pick your workspace, click Create.
    Railway Tokens page with the New Token form: a Name box, a Workspace dropdown and a Create button.
    1. Copy it. Railway shows the new token once, in a box under New Token. Click the copy icon.
    Railway Tokens page right after creating a token: the token appears once in a box under New Token (hidden here), with a Got it button.
    1. Paste this prompt into Claude Code. Claude makes a private file and opens it as a tab in your editor (named .env). Paste the token into that file, not into the chat, save with Ctrl+S, then type just the word pasted in the chat.

    Paste into Claude Code

    I want you to manage my Railway account for this project.
    Create a private settings file for a Railway token (kept out of GitHub),
    open it for me, and I'll paste the token in myself. Then check you can see my Railway projects.

    Done when Claude lists your Railway projects. Then go to step 1.

    Keep the token private. Never paste it or screenshot it into a chat: anyone who sees it can control your projects. If that happens, or when the project is finished, delete it on the same Railway page with the bin icon.

  1. 1One prompt in the Claude desktop app does the restIt adds the domain, opens GoDaddy, makes the changes and checks until it works
    1. Type your domain in the box below, click Copy, and paste it into the Claude desktop app.
    2. Claude opens GoDaddy in its own browser. When GoDaddy asks you to sign in, you type your password and code. Claude carries on after that.
    3. It shows you what it changed, then keeps checking until your website opens on the new address. That can take minutes to a few hours.

    Paste into the Claude desktop app

    I bought yourdomain.com at GoDaddy and want it to show my site on Railway.
    
    1. On Railway, add www.yourdomain.com to my site (reuse it if it's already there)
       and get the DNS records it needs.
    2. Open GoDaddy in your browser, on the DNS page for yourdomain.com.
       If it asks me to sign in, stop and let me sign in myself. Never type my password or a code.
    3. Make only these changes:
       - set the www CNAME record to Railway's value,
       - add Railway's TXT verification record, copied exactly,
       - forward yourdomain.com to https://www.yourdomain.com (Permanent 301, forward only, no masking).
       GoDaddy may replace the "Parked" record by itself when it saves the forwarding. That's expected.
    4. Change nothing else, don't change nameservers, buy nothing, accept no upsell.
       If a screen looks different, stop and ask me.
    5. Show me exactly what you changed.
    6. Keep checking from outside (public DNS, not just this computer, which can remember the old
       address for an hour) until Railway shows the domain verified and https://www.yourdomain.com
       opens my site. Tell me when it does, and whether yourdomain.com without www forwards yet
       (that part can take a few hours).
    7. Then list anything in my project that still uses the old address (payment return pages,
       email links, sign-in settings) and ask me before changing any live setting.

    Type your domain in the box, then Copy. Bought it somewhere other than GoDaddy, or hosting elsewhere than Railway? Change those words after pasting.

    No desktop app? Ask Claude Code to write steps 2–4 as a prompt for Claude in Chrome, sign in to GoDaddy in Chrome, and paste it into the Claude side panel.

    Google accounts: do part B by hand. Letting a browser AI into your Google account is a bigger risk than a DNS page.

B. Set up Google sign-in

B · Google sign-in with your own namecustomers log in with their Gmail, no new password

The sign-in popup shows your Google app's name, so give each brand its own app. About 10 minutes at console.cloud.google.com.

  1. 1Create a projectProject picker → New project
    1. Click the project picker at the top → New project.
    2. Name it after your brand → Create → make sure it's selected.

    New project (illustration)

    console.cloud.google.com
    New Project
    My Brand
    Create
  2. 2Fill in the consent screenApp name, emails, External
    1. APIs & Services → OAuth consent screen (may say "Google Auth Platform") → Get started.
    2. App name = your brand. Support and contact email = yours. Audience = External.
    3. Branding → add your domain under Authorised domains → Save.

    Consent screen (illustration)

    My Brand
    External
    yourdomain.com
  3. 3Publish the appOtherwise only "test users" can sign in
    1. Audience → Publish app → confirm.
    2. Status should read In production. Asking for name and email only needs no Google review.

    Audience (illustration)

    In production
    Publish app
  4. 4Create the web clientAdd every address your site lives at
    1. Clients → Create client → type Web application.
    2. Authorised JavaScript origins → + Add URI for each address. https, no slash at the end.
    3. Leave "Authorised redirect URIs" empty → Create.

    Authorised JavaScript origins (illustration)

    https://www.yourdomain.com
    https://yourdomain.com
    https://your-site.up.railway.app
    http://localhost:8765
    + Add URI
  5. 5Send the Client ID to the AINever the Client secret

    Your new client (illustration)

    123456-abcdef.apps.googleusercontent.com
    ••••••••••••••

    Paste to the AI

    I created a Google sign-in app for [brand]. Client ID: [paste it].
    Make the site use it, check that sign-ins are only accepted for this app,
    and tell me which production setting you need to change before you change it.

If something goes wrong

  1. !"Error 400: origin_mismatch"Google blocks the sign-in popup

    The error (illustration)

    accounts.google.com
    Access blocked: Authorization Error
    You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. Error 400: origin_mismatch

    The site's address is missing from step B4. Add it exactly, save, wait 5 minutes, try again.

    Paste to the AI

    Google sign-in shows "Error 400: origin_mismatch" on [page address].
    Tell me exactly which address to add under Authorised JavaScript origins.
  2. !"Access blocked" for everyone except youThe app is still in Testing

    Do step B3: publish the app so it reads In production.

  3. !yourdomain.com shows a parking pageForwarding not set, or the record went on the wrong name

    Forwarding can take a few hours to start. If it still shows parking after that, ask Claude to check the forwarding and that the CNAME's Name is www, not @.

  4. !Still "not verified" after hoursUsually a typo in the TXT record

    Usually a typo in the TXT record. Ask Claude to check it from outside (prompt below).

    Paste to the AI

    My domain still isn't verified. Check my DNS records from outside and tell me
    exactly which record is wrong and what it should be.