---
title: Playground
description: Create sandboxes, run SDK operations, and explore Daytona features directly from your browser.
---

Daytona provides an interactive environment ("Playground") for creating sandboxes, running SDK operations, and exploring Daytona features directly from your browser.

- **Interactive sandbox creation**: configure and create sandboxes with custom resources
- **Code snippet generation**: automatically generate SDK code samples based on the values configured in the [management](#management) section
- [Web terminal](/docs/en/web-terminal): run commands directly in your sandbox through a built-in web terminal
- [VNC access](/docs/en/vnc-access): interact with GUI applications using [Computer Use](/docs/en/computer-use) features

## Access from Dashboard

Navigate to [Daytona Dashboard ↗](https://app.daytona.io/dashboard/playground) to access the playground.

Playground consists of three tabs: [Sandbox](#sandbox), [Terminal](#terminal), and [VNC](#vnc). All three tabs operate on the same active sandbox.

## Sandbox

The sandbox tab provides an interactive interface to configure sandboxes and perform SDK operations. The left panel contains configurable parameters organized into collapsible sections. The right panel displays auto-generated code snippets that you can inspect, copy, and run.

### Management

The management section contains the parameters used to configure a sandbox. You can edit these parameters to customize your sandbox and its resources.

- [sandbox language](/docs/en/sandboxes#multiple-runtime-support): select a programming language runtime for the sandbox
- [sandbox resources](/docs/en/sandboxes#resources): configure resources allocated to the sandbox
- [sandbox lifecycle](/docs/en/sandboxes#sandbox-lifecycle): set the sandbox lifecycle policies

:::note
In the management section, sandboxes are only created when you explicitly click **Run**, replacing any existing playground sandbox. In the [Terminal](#terminal) or [VNC](#vnc) tabs, if there are no active sandboxes, the playground automatically creates one using the configured parameters.
:::

### File system

The file system section provides operations to manage files and directories in the sandbox. You can modify files and directories in the sandbox using the following operations:

- **Create a new directory**: set the directory location and its permissions
- **List files and directories**: set the directory location
- **Delete files**: set the file location and delete directory checkbox

For more information, see [file system operations](/docs/en/file-system-operations).

### Git operations

The Git operations section provides operations to manage Git repositories in the sandbox. You can clone, get repository status, and list branches using the following operations:

- **Clone a Git repository**: set the repository URL, destination, branch, commit ID, and credentials
- **Get repository status**: retrieve the repository status
- **List branches**: retrieve the list of branches in the repository

For more information, see [Git operations](/docs/en/git-operations).

### Process and code execution

The process and code execution section provides operations to run code snippets and shell commands directly in the sandbox. Shell commands are fixed, while code snippets change automatically based on the selected [sandbox language](/docs/en/sandboxes#multiple-runtime-support) parameter.

For more information, see [process and code execution](/docs/en/process-code-execution).

## Terminal

The terminal tab provides a web-based terminal connected to the sandbox. This gives you direct command-line access to the sandbox environment for running commands, viewing files, and debugging.

The terminal runs on port `22222` and remains active as long as the sandbox is running. If the sandbox stops due to inactivity, start it again to restore terminal access.

:::note
Terminal access is restricted to authenticated members of your [organization](/docs/en/organizations).
:::

For more information, see [web terminal](/docs/en/web-terminal).

## VNC

The VNC tab provides graphical desktop access to the sandbox, enabling you to interact with GUI applications and test [Computer Use](/docs/en/computer-use) features. The left panel contains interaction controls organized into sections. The right panel displays the desktop view.

For more information, see [VNC access](/docs/en/vnc-access).

### Display

The display section provides options to inspect the sandbox desktop environment.

- **Get display information**: retrieve information about the available displays
- **List open windows**: retrieve a list of currently open windows

For more information, see [display operations](/docs/en/computer-use#display-operations).

### Keyboard

The keyboard section provides options to send keyboard input to the sandbox.

- **Press a hotkey combination**: send a hotkey combination to the sandbox
- **Press a key**: press a key with optional modifiers
- **Type text**: type text into the active window

For more information, see [keyboard operations](/docs/en/computer-use#keyboard-operations).

### Mouse

The mouse section provides options to control mouse input in the sandbox.

- **Click**: click at a specified position
- **Drag**: drag from one position to another
- **Move**: move the cursor to a specified position
- **Get cursor position**: retrieve the current cursor position

For more information, see [mouse operations](/docs/en/computer-use#mouse-operations).

### Screenshot

The screenshot section provides options to capture screenshots of the sandbox desktop.

- **Take a screenshot**: select format, scale, and quality, show cursor, and capture the entire screen or specific regions

For more information, see [screenshot operations](/docs/en/computer-use#screenshot-operations).

## Related

- [Web Terminal](/docs/en/web-terminal): browser-based terminal access for sandboxes
- [VNC Access](/docs/en/vnc-access): graphical desktop access for sandboxes
- [Computer Use](/docs/en/computer-use): programmatic desktop automation
- [File System Operations](/docs/en/file-system-operations): manage files and directories in sandboxes
- [Git Operations](/docs/en/git-operations): manage Git repositories in sandboxes
- [Process & Code Execution](/docs/en/process-code-execution): execute commands and run code in sandboxes
