Skip to content

Quickstart

Deploy your first site to Sandbar in under 5 minutes.

  • A Sandbar account (sign up)
  • The Sandbar CLI installed (installation guide)
  • A static site build output (e.g., dist/ from an Astro build)
Terminal window
export SANDBAR_API_KEY=sb_key_...
Terminal window
cd my-project
sandbar init

This creates .sandbar/config.toml with your site ID.

Terminal window
npm run build
Terminal window
sandbar deploy

Your site is live at https://your-site.sandbar.cloud.