# Installation

Install the npm package into your application.

```
npm i @node-ts/bus-core @node-ts/bus-messages --save
```

Configure and initialize the bus when your application starts up.

```typescript
import { Bus } from '@node-ts/bus-core'
​
async function run () {
  const bus = await Bus.configure().initialize()
}
```

This is the most basic of setups and your app is running an in memory queue capable of receiving messages from itself. In production, it's strongly recommended to [configure a transport](broken://pages/-MkbAMS7a-WL5iUiT-q6) so that your application can be distributed and survive restarts.&#x20;


---

# 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://bus.node-ts.com/installing/installation.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.
