# Hello World

### Create your Instance

In the navbar click instances, and then create instance. It will prompt you for a name, enter `hello-world` This will be the name of the route that will go to this instance.&#x20;

### Create your volume

Go back to the navbar and click volumes. Then create a new volume and name it `hello-world-app`. Then copy these files to the volume, by creating each file and then copying its contents.

{% tabs %}
{% tab title="index.js" %}

```javascript
exports.request = (req, res) => {
    res.statusCode = 200;
    res.write('Hello World!');
    res.end();
}
```

{% endtab %}

{% tab title="package.json" %}

```javascript
{
    "main": "/index.js"
}
```

{% endtab %}
{% endtabs %}

Finally press `Save Volume` to publish these files to the volume.

### Putting it all together

Finally you can go back to instances, click your instance, press mount volume, and select `hello-world-app`. Once you've mounted the instance click Endpoint. This will bring you to a page that connects to a Node VM running your code, and you should see `Hello World!`

For a more advanced example, you should try to add express.js to your endpoint with this page:&#x20;
