# Steep

Connect Dot to your [Steep](https://steep.app) semantic layer to query metrics, dimensions, and slices using natural language. Dot syncs your metric definitions, dimensions, and their descriptions so you can ask questions about your data without writing code.

{% hint style="info" %}
**Requirements**

* A **Steep account** with at least one metric defined
* A **Steep API key** — generate one in Steep under **Settings → API**
  {% endhint %}

## Connect to Steep

<figure><img src="https://3709841693-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCeRlmJf2y704TpjpubE1%2Fuploads%2Fgit-blob-c2137bc60ca6c485d848928e2b921d0af9b9512a%2Fsteep-connector.png?alt=media" alt="Steep connection settings"><figcaption></figcaption></figure>

1. Go to **Settings → Semantic Layers → Steep**
2. Enter your **API Key**
3. Click **Connect**
4. Dot will sync your metrics and dimensions

{% hint style="success" %}
**Generating an API key**

In Steep, go to **Settings → API** and create a new API key. Copy the key and paste it into Dot.
{% endhint %}

## What Gets Synced

When you connect Steep, Dot imports:

* **Metrics** — each metric appears as a table (e.g., revenue, order\_volume)
* **Dimensions** — appear as columns on each metric, with their data types
* **Descriptions** — metric and dimension descriptions are synced for context
* **Slices** — predefined filters listed in metric descriptions (e.g., "UK", "Enterprise")
* **Related metrics** — noted in descriptions so Dot can suggest complementary data

Dot periodically re-syncs to pick up new or changed metrics. You can also trigger a manual sync from the connection settings.

## How Queries Work

When you ask a question, Dot generates a `steep_query()` call that fetches data for one metric at a time. Queries support:

* **Breakdowns** — group results by up to 2 dimensions (e.g., by Country, by Product Category)
* **Filters** — narrow results to specific dimension values
* **Slices** — use predefined filters for common segments
* **Time ranges** — specify date ranges and time granularity (daily, weekly, monthly, quarterly, yearly)
