Technical Guide & Troubleshooting

How to deploy your app into a Real Production Website

Comprehensive guide to Sitebuild's 'Go Live' mechanism, generating personal Vercel Access Tokens, and resolving the 'not authorize' error once and for all.

Encountering 'not authorize' error?

This happens when your stored token has expired, was revoked, or you pasted a browser login session instead of a Personal Access Token. Follow the 60-second steps below to generate a fresh token!

1. How does 'Go Live' work?

When you click Go Live and choose Real Production Website (Vercel):

1Bundle Files

Sitebuild packages your workspace React, Tailwind CSS, Vite config, and package.json files into a clean payload.

2Post to Vercel API

Securely calls the Vercel API (POST /v13/deployments) with your token to build the standalone website.

3Live Production URL

Vercel generates an ultra-fast global domain https://<project>.vercel.app with free SSL.

Security: Your token is strictly saved in your local browser storage (localStorage) and never shared.

2. Why does 'not authorize' happen?

If you see 'not authorize', 'unauthorized', or HTTP 401, it is typically caused by one of these 3 reasons:

Reason 1: Mistaking 'Web Login Session' for 'API Token'

In the Vercel tokens list, items like 'Vercel Dashboard from Chrome on Windows' are merely web browser login sessions, not API tokens.

Reason 2: Old token has expired or was revoked

If your previously generated token expired or was revoked in Vercel, your browser's cached token will be rejected.

Reason 3: Incorrect Account Scope

If the token scope is tied to a Team workspace where deployment permissions are restricted, Vercel blocks deployment.

3. Step-by-step: Create a new Token (60 seconds)

Follow these 5 simple steps to generate a valid Personal Access Token:

Step 1

Visit Vercel Tokens Settings

Log in to your Vercel account and open the Access Tokens page.

vercel.com/account/tokens
Steps 2 & 3

Fill in 'Create Token' form fields

FieldValue to fillNote
TOKEN NAMESitebuild DeployAny friendly name
SCOPEPersonal AccountSelect your personal user account
EXPIRATIONNever expiresRecommended so you don't encounter expired errors again
Step 4

Click 'Create Token' and COPY IMMEDIATELY

⚠️ Very important: Vercel only reveals the secret token once! Click Copy right away.

Step 5

Paste into Go Live Modal & Deploy

Return to your Sitebuild project, reopen Go Live, paste your new token into the input, and click 'Deploy to Vercel'.

4. Other Common Deployment Questions

Do I have to re-enter the token every time?

No! Your browser securely remembers the token in localStorage. Future redeployments will reuse it seamlessly.

Is there a free deployment limit on Vercel?

Vercel's free Hobby plan offers up to 100 deployments per day, which is plenty for prototyping and development.

How do I update or remove a saved Token?

Simply open the Go Live modal, clear or overwrite the token field with a new value, and deploy. The new token will replace the cached one.

Ready to take your app live?

Create your Vercel Token and head back to your workspace to share your creation.

Hướng Dẫn Triển Khai Website Thật & Sửa Lỗi Vercel - Sitebuild