> For the complete documentation index, see [llms.txt](https://neomatrixcode.gitbook.io/merly/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://neomatrixcode.gitbook.io/merly/guide/start.md).

# Start

## Configuration

The start function takes three parameters.

* **host**: IP address where the process will listen, you can use the ipv4 protocol such as ipv6, it is specified with a string
* **port**: the port number where the process will listen, it is indicated with an integer number.
* **verbose**: allows you to view the events processed by the process in real time, indicated with a boolean value

The default values that the function receives are:

```julia
start( host = "127.0.0.1", port = 8086, verbose = false)
```

By default, when executing the process, it will only use one processor core. If you want to improve performance you can use a load balancer like NGINX, here you can find an [example](https://github.com/neomatrixcode/merly-nginx-loadbalancer).

## TLS

To enable TLS / HTTPS the **sslconfig** parameter is used, which receives the https certificate files.

{% hint style="info" %}
If you want to generate HTTPS certificate for localhost domains, you can follow the following [tutorial](https://gist.github.com/cecilemuller/9492b848eb8fe46d462abeb26656c4f8).
{% endhint %}

```julia
using MbedTLS

start( sslconfig= MbedTLS.SSLConfig("localhost.crt", "localhost.key") )
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://neomatrixcode.gitbook.io/merly/guide/start.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
