# START SANDBOX

## Syntax <a href="#synopsis" id="synopsis"></a>

```sql
START SANDBOX IN "<region>";
```

## Description <a href="#description" id="description"></a>

Start a new sandbox in the provided region.

A sandbox responds to queries once it is created and in `RUNNING` status. If a query is ran before the sandbox is available, the query is queued to be run once the sandbox is `RUNNING`.

{% hint style="info" %}
**Note** You can only create sandboxes in the regions available in [`LIST REGIONS`](https://docs.deltastream.io/reference/sql-syntax/sandbox/broken-reference).
{% endhint %}

### Arguments

#### \<region>

The region in which to create the sandbox in. See [`LIST REGIONS`](https://docs.deltastream.io/reference/sql-syntax/sandbox/broken-reference) for a list of regions.

## Examples

The following shows how to create a new sandbox:

```sh
demodb.public/demostore# START SANDBOX IN "AWS us-east-1";
+---------+---------+----------+------------------------------------------+
|  Type   |  Name   |  Command |  Summary                                 |
+=========+=========+==========+==========================================+
| sandbox | sandbox | CREATE   | sandbox was successfully started in AWS  |
|         |         |          | us-east-1                                |
+---------+---------+----------+------------------------------------------+
```

Note that there can only be one active sandbox running at a given time. However, if any changes are detected or required, you must stop the sandbox using the [`STOP SANDBOX`](https://docs.deltastream.io/reference/sql-syntax/sandbox/stop-sandbox) command and then recreate it — for example if a [user-defined function](https://docs.deltastream.io/overview/core-concepts/function) from a new function source must be used (see [`CREATE FUNCTION_SOURCE`](https://docs.deltastream.io/reference/sql-syntax/ddl/create-function_source)).
