# Creating Your Application

## Generating your Application

First, we need to [install the Blueprint command-line interface (cli)](/quick-start/getting-started.md#installation). The cli makes it easier to start a new Blueprint application, and implement different components of the application. When installing the cli, you want to install it globally.

Now, use the installed [blueprint cli](https://github.com/onehilltech/blueprint-cli/) to generate a new application.

```bash
blueprint new super-rentals
```

The cli will generate a new Blueprint application in the `super-rentals` directory. It will also install the node modules for the application.&#x20;

## Starting your application

Let's make sure the `super-rentals`  application generated correctly. Change to the newly generated directory, and run the application as follows:

```bash
node ./app
```

This will start the Blueprint application in development mode, and make it available at <http://localhost:5000>.

If you want to run the Blueprint application in a different environment mode, then use the `NODE_ENV` environment variable. For example, if you want to run the application in a `production` environment, then use the following command:

```bash
NODE_ENV=production node ./app
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blueprint.onehilltech.com/quick-start/my-first-application/create-your-application.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
