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

# Quickstart

Sign in, connect one adapter, run a discovery, open an inventory and run your first query.

By the end of this page you will have data from one of your tools in an OctoXLabs inventory and a query that filters it.

### Before you begin

* A running OctoXLabs installation with the licence applied. See Offline installation if you still need to install.
* The default connector has its token set and passes its connection test (done during installation).
* A user account that can create connections and start discovery.
* The address and credentials of one product you want to connect, as required by its adapter.

{% stepper %}
{% step %}

#### Sign in

Open the platform in a browser at the address of your server and sign in with your username and password.

```
https://your-octo-host
```

If your administrator enabled LDAP or SSO, use the corresponding option on the sign-in page.

{% hint style="info" %}
If the services are stopped, start them on the server first with `sudo octox-ctl -x up`.
{% endhint %}
{% endstep %}

{% step %}

#### Connect one adapter

1. Open **Adapters** from the side menu. The page lists all adapters. Use **Search Adapter** to find the product you want to connect, then open its card.
2. Select **Create New Connection**.
3. Enter a **Name**, an optional **Description** and the **Connector**, then fill in the connection fields. The panel on the right shows the requirements for this adapter, such as the host URL and the credentials you need.
4. Select **Create**.
5. To check the connection, open the connection list of the adapter and select the edit icon in the **Actions** column. Then select **Test**.

You can review all your connections under **Adapters** > **All Connections**.

{% hint style="warning" %}
**Test** and **Fetch** appear when you edit a saved connection, so create the connection first. The test runs against the saved settings.
{% endhint %}
{% endstep %}

{% step %}

#### Run discovery

Choose how much to collect:

{% tabs %}
{% tab title="All connections" %}
In the page header, select **Start Discovery**. A confirmation window says that this starts a new discovery process and that the action cannot be undone. Select **Start** to continue. OctoXLabs collects data from every enabled connection that passes its connection test, then processes it.

The **Discovery** panel next to it shows a progress bar and your most recent discoveries with their status. Select **History** in the panel to open Discovery History and see each step of a run. Select **Schedule** to run discovery automatically.
{% endtab %}

{% tab title="One connection" %}
Open the connection on the **All Connections** page and select **Fetch**. This starts a discovery for that connection only, which is useful while you are checking a new adapter.
{% endtab %}
{% endtabs %}

Wait until the discovery status shows **Completed**. Aggregation and enrichment run after collection, so inventories update only when the whole run is done.
{% endstep %}

{% step %}

#### Open an inventory

Point to **Inventories** in the side menu and select an inventory that matches what your adapter provides, for example **Devices** for an endpoint or directory adapter. You should see one row for each asset the adapter returned. Open a row to see the full record and which adapters contributed to it.
{% endstep %}

{% step %}

#### Run your first query

Use the **Search** box above the table to filter the inventory. To list only the assets that came from the connection you created, enter this query and press Enter, replacing the name with your connection name:

```
Connections = YOUR_CONNECTION_NAME
```

Select **Save As** next to the search box, enter a query name and save it. Saved queries appear under **Saved Queries** in the inventory menu and can be reused in dashboards, reports and Action Center. If you prefer a guided builder, select **Query Wizard**.
{% endstep %}
{% endstepper %}

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Connect an adapter</strong></td><td>Learn more about connections, testing and settings.</td><td><a href="https://docs.octoxlabs.com/documentation/adapters/connect-an-adapter.md">Connect an adapter</a></td></tr><tr><td><strong>Create and save queries</strong></td><td>Build more precise filters and reuse them.</td><td><a href="https://docs.octoxlabs.com/documentation/use-octoxlabs/queries/create-and-save-queries.md">Create and Save Queries</a></td></tr><tr><td><strong>Create a dashboard chart</strong></td><td>Turn a query into a chart.</td><td><a href="https://docs.octoxlabs.com/documentation/use-octoxlabs/dashboards/create-a-dashboard-chart.md">Create a dashboard chart</a></td></tr><tr><td><strong>Developer Resources</strong></td><td>Automate these steps with the API and the Python SDK (<code>pip install octoxlabs</code>).</td><td><a href="broken://pages/FaSGGOl6CSP0t71WWh7l">Broken link</a></td></tr></tbody></table>
