# Quickstart - Documentation

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown is available with `Accept: text/markdown` and `.md` URL variants.

Source: /docs/guides/sandbox-template-quickstart

# Quickstart

The fastest end-to-end workflow is:

- Define a template in code.

- Build it once.

- Launch sandboxes from the returned template ID.

JavaScript & TypeScript

Python

```
import { Sandbox, Template } from "novita-sandbox"

const template = Template().fromImage("python:3.12")

const build = await Template.build(template, "my-python-template", {
cpuCount: 2,
memoryMB: 1024,
})

console.log(build.templateId)
console.log(build.buildId)

const sandbox = await Sandbox.create(build.templateId)
const result = await sandbox.commands.run("python --version")

console.log(result.stdout)

await sandbox.kill()
```

Last modified on June 4, 2026
