> ## Documentation Index
> Fetch the complete documentation index at: https://oculon.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Query and database

Once an integration is added, you can create queries to fetch data and turn it into databases. This allows you to bring external data directly into Oculon for modeling and analysis.

## Managing Integrations

From the **Integration** section, you can view and manage all connected sources.

![](https://mintcdn.com/oculon/2ze9UxHD5qWqzavK/images/getting-started/integration-list.png?fit=max\&auto=format\&n=2ze9UxHD5qWqzavK\&q=85\&s=b84a90782f7322fab8932b0ec94cb4aa)

* Click on an **integration card** to open and start working with it
* Use the menu (⋮) to:
  * **Rename** the integration
  * **Disconnect** the integration

***

## Creating a Query

You can click on any integration to view **integration query detail** page. Here you can create one or more queries to fetch specific data.

![](https://mintcdn.com/oculon/2ze9UxHD5qWqzavK/images/getting-started/query-details.png?fit=max\&auto=format\&n=2ze9UxHD5qWqzavK\&q=85\&s=06da28c4f65d7bf2572c830f53f6643c)

To create a query:

* Click **Add New Query**
* Select an **object/table** (e.g., Accounts, Transactions)
* Choose the required **fields**
* Configure filters if needed
* Click **Run Query** to fetch data

You can create **multiple queries** within the same integration for different datasets.

***

## Creating a Database

Once the query is ready:

* Save and **name the database**
* A database is automatically created from the query
* You are redirected to the **database detail page**

This database can now be used across models, dashboards, and analysis.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.