Skip to content
Help center
Gatlas

Datasets in 3 minutes

A dataset turns what your tools sync into a table built around one business question, so your agent answers it the same way every time. This guide builds one by asking Claude.

What a dataset is

A dataset is a table built around one business question, with the definitions agents need to read it the same way every time. It turns what a tool such as Stripe, Shopify or your accounting system synced into the answer's shape.

For example, instead of repeatedly joining transactions and customer records, you can create one customer dataset containing customer names, countries, regions and revenue. Claude can then reuse that dataset across future analyses, reports and dashboards.

Twenty raw transactions on the left become a curated dataset on the right: totals for revenue, salaries, logistics, purchases, software and marketing, and a net result of +21,530.

How to create a dataset

You do not need to write SQL or manually map every field. Describe the result you want, and Claude can explore the data available through Gatlas, propose how to build it and create the dataset.

You need Claude connected to Gatlas through a Read/write agent key. A Read-only key can explore data but cannot create a dataset. See Connect your agent.

  1. Explore the available data

    Start by asking what information is available from a tool you connected. This allows Claude to inspect the relevant tables and fields before deciding how the dataset should be structured.

    What customer-related data is available in my raw data from Stripe?

    Claude will explain what customer, transaction and revenue information is available, including any limitations that could affect the analysis.

    Claude lists the Stripe customer data available for Test company, such as customers, charges and invoices, with the customer fields in each, and notes that they all link through the customer ID.
  2. Describe the dataset you want

    Describe the business result you need using familiar business language. Say what you want to group by and what you want to count or add up, and let Claude map them to the fields your tool synced.

    Create a customer dataset grouped by country and geographic region. Include customer name, revenue, country and region.

    Before creating the dataset, review the proposed fields and definitions. Check how customers are identified, how revenue is calculated and how countries are assigned to regions.

    Claude asks how to define revenue, region and row grain, then creates the dataset Test Company Customer Revenue by Country and Region, with one row per customer.
  3. Use the result

    Once created, the dataset is documented and Claude can query it directly. You can use it for one-off questions, recurring analysis, reports or dashboards without rebuilding it.

    Show revenue by country, including the number of customers and geographic region, using the new customer dataset.

    Because the business logic is already in the dataset, Claude starts from it for every question.

    Using the new dataset, Claude returns revenue by country with region and customer count, led by Norway at 168,905 euros from 14 customers.