# Hello world!

{% hint style="info" %}
These examples assumes that you've successfully installed Enoria into `game.ReplicatedStorage` , and that [you have created a project!](/enoria/guide/getting-started.md)
{% endhint %}

Go into your Main `LocalScript`insert the following code:

```lua
local Enoria = require(game.ReplicatedStorage.Enoria.Enoria) -- importing Enoria core model

local e = Enoria.new() -- creating the Enoria core object

e:RunApp({
	Name = "MyApp",
	Home = e.TextLabel("Hello world")
})
```

Here are the explanations to what we are doing:

1. We begin by importing what modules we need, in this example we just need the `Enoria` model.
2. Then, we initialize the model.
3. We run the app with different paramters (GUI name and home widget).
4. We're only inserting a `TextLabel` with the text "Hello world!".

Run the game just to see if everything seems to work:

![Should look like that. UwU](/files/-MVrABnYMWItbdpvW3RJ)

Then, we want to center it in a white frame. And maybe change the font size!

{% code title="" %}

```lua
...
e:RunApp({
		Name = appName,
		Home = e.Container({ -- a Container is like a Frame
			Child = e.TextLabel("Hello world!", {
				Centered = true, -- automatically centers the text
				TextSize = 32 -- just like you would do with a normal TextLabel!
			})
		})
})
```

{% endcode %}

When you run the game, you should see a white `Frame` with a `TextLabel` that is displaying "Hello World!" !

![Hello World!](/files/-MVNYKdoNlIiMtLnA0kK)


---

# 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://thebuildex.gitbook.io/enoria/guide/hello-world.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.
