# 1. Connect

Lumi AI draws insights from the data it is connected to. This can be a source system storing the current live record-of-fact serving operations, or a data warehouse housing a managed collection of data for business intelligence. Lumi AI can connect to a variety of such systems to support visibility as needed. For a full list and details, see [Source System Integrations](https://docs.lumi-ai.com/product-features/source-system-integrations).

## Setting up a Direct Connection

The simplest method of connection is a direct connection, which provides a means of communication directly between Lumi AI and your source system.

Defining the connection involves selecting the appropriate system and then entering the required properties. These will vary by system but typically include details such as `host`, `port`, `username`, `password`, and `database`.

<figure><img src="https://1092914297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbsNNtXffkOLYrtYRQIcx%2Fuploads%2FTiMzp6VhpjsBjDMkrhhV%2FScreenshot%202025-08-26%20at%2012.50.02%E2%80%AFPM.png?alt=media&#x26;token=bcd4740e-9ac8-47a3-a5f8-8a4b12a9bce4" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
For advanced configuration for your network or connection, please see [Network Configuration](https://docs.lumi-ai.com/using-lumi/network-configuration).\
\
The Direct Connection method is the simplest approach to connecting to a source system, but if more advanced controls and precision over access and security are required, please review documentation on Lumi AI's [Data Gateway](https://docs.lumi-ai.com/product-features/data-gateway).
{% endhint %}


---

# 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://docs.lumi-ai.com/setting-up/1.-connect.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.
