> For the complete documentation index, see [llms.txt](https://fluentv2.hungquan99.site/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fluentv2.hungquan99.site/getting-started/load-the-library.md).

# Load the library

Load the three files independently:

```lua
local Fluent = loadstring(game:HttpGet("https://raw.githubusercontent.com/hungquan99/Interface/refs/heads/main/Enhanced/betafluentv2.lua"))()
local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/hungquan99/FluentUI/master/Addons/SaveManager.lua"))()
local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/hungquan99/FluentUI/master/Addons/InterfaceManager.lua"))()
```

`Fluent` creates the interface. `SaveManager` persists control values. `InterfaceManager` persists interface preferences.

{% hint style="info" %}
`betafluentv2.lua` also defines both addons internally. The snippet uses separately loaded addon files.
{% endhint %}

### Choose the modules you need

Load `Fluent` for every interface. Load the addons only when you need persisted settings.

* Use `SaveManager` for toggle, slider, dropdown, input, keybind, and section values.
* Use `InterfaceManager` for theme, acrylic, transparency, and minimize-key preferences.
* Load both addons when your interface includes a settings tab.

### Next steps

Create the window after loading Fluent. Then add a tab and section before adding controls.

1. [Create a window](/getting-started/create-a-window.md).
2. [Organize tabs and sections](/build-the-interface/tabs-subtabs-and-sections.md).
3. [Add elements](/build-the-interface/add-elements.md).

{% hint style="warning" %}
The core loader returns only `Fluent` in this example. Keep the addon loaders when calling addon methods.
{% endhint %}


---

# 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://fluentv2.hungquan99.site/getting-started/load-the-library.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.
