> ## Documentation Index
> Fetch the complete documentation index at: https://novita.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Crear sandbox y conectarse al terminal

export const SandboxCliConfigHint = () => {
  if (typeof document === "undefined") {
    return null;
  } else {
    return <Note>Before running the command-line related example code in this document, please refer to the <Link href="/docs/es/guides/sandbox-cli">tutorial</Link> to install the CLI and complete <Link href="/docs/es/guides/sandbox-cli-auth">authentication</Link>.</Note>;
  }
};

<SandboxCliConfigHint />

Con el siguiente comando, puedes usar la herramienta de línea de comandos para iniciar un sandbox y conectarte al terminal.

```bash Bash icon="terminal" theme={"system"}
novita-sandbox-cli sandbox create <template-id>
```

Puedes interactuar con el sandbox directamente desde el terminal. Ejecuta `exit` para salir de la conexión. Una vez desconectado, el sandbox se cerrará automáticamente.
