Quickstart
Deploy your first site to Sandbar in under 5 minutes.
Prerequisites
Section titled “Prerequisites”- A Sandbar account (sign up)
- The Sandbar CLI installed (installation guide)
- A static site build output (e.g.,
dist/from an Astro build)
1. Authenticate
Section titled “1. Authenticate”export SANDBAR_API_KEY=sb_key_...2. Initialize your site
Section titled “2. Initialize your site”cd my-projectsandbar initThis creates .sandbar/config.toml with your site ID.
3. Build your site
Section titled “3. Build your site”npm run build4. Deploy
Section titled “4. Deploy”sandbar deployYour site is live at https://your-site.sandbar.cloud.