Skip to main content

Overview

This quickstart shows two ways to create your first backend with Sutro:
  • Studio: Build a backend visually in the browser.
  • Sutro CLI: Write SLang locally, preview it in a remote dev session, and publish it from your terminal.
Choose the path that fits how you want to work.

Option 1: Using Studio

Studio is the simplest way to start without writing code.
1

Open Studio

2

Create your backend

Use Studio to define:
  • Entities and relationships.
  • Actions and business logic.
  • Security rules.
  • HTTP endpoints.
3

Publish

Publish directly from Studio when your backend is ready.

Option 2: Using the Sutro CLI

Use the CLI when you want to define your backend in SLang and edit it from your local development environment.
If you’re using an AI coding agent like Claude Code, install the official SLang skill to give your agent full knowledge of SLang syntax:

Before you begin

You need Node.js 22 or later, npm, and a Sutro account. Publishing requires a payment method on file. Add one in Sutro Studio or Sutro Console before publishing.

Steps

1

Install the CLI

Install the npm package:
2

Log in

Start the browser-based login flow:
3

Create a project

Create and initialize a local project:
sutro init creates a remote Project and Application, writes sutro.config.json, and creates app.slang if it does not exist.
4

Write your SLang definition

Replace app.slang with a simple task API:
5

Preview locally edited source

Start a remote dev session:
The CLI uploads your local .slang files and prints a preview URL:
Keep sutro dev running while you edit. The CLI reloads the remote preview when local .slang files change.
6

Validate and publish

Validate the project:
Publish the backend:
The CLI prints the published API URL and version.
You’ve created and published your first Sutro backend.

Next steps