# Add Data Collection

> Start storing and publishing the data of the machines you already serve, with nothing to set up again.

URL: https://www.trakhound.com/docs/mtconnect-server/add-collection

Once your machines are served through the [Agent Hub](https://www.trakhound.com/docs/mtconnect-server/agent-hub), adding Data Collection takes a few minutes. There's nothing to set up again: the Devices' addresses, Device models, and [Groups](https://www.trakhound.com/docs/mtconnect-server/groups) are already in MTConnect Server, so Collection uses them as they are.

Diagram: Add a destination, add a License, turn on Collection for the Devices, then check that data is arriving.

## 1. Add a Destination

Open **Quick Start** in the App, choose **Collect data**, and add a destination on the [Destination](https://www.trakhound.com/docs/mtconnect-server/quick-start#destination) step: SQLite (no setup), PostgreSQL, SQL Server, or an MQTT broker. This adds the Service and a [Profile](https://www.trakhound.com/docs/mtconnect-server/profiles) that sends data to it. Destinations can also be added later under **Collection > Configuration**.

## 2. Add a License

Each collected Device uses one seat of a Collection License. On the Quick Start's **License** step (or **Collection > Configuration > Licenses**), click **Request a License** to get a free 2-hour trial for this computer, add the License Code, and click **Use for New Devices**. See [Collection Licenses](https://www.trakhound.com/docs/mtconnect-server/licenses) to buy a subscription.

## 3. Turn On Collection

Choose the machines to collect from:

- **A whole Group** - Open the Group under **Groups**, give it the Profile, then use **Apply to all Devices**: **Turn On Collection**, and **License > Assign to Collected Devices**.
- **One Device** - Open the Device, go to its **Collection** tab, click **Add to Collection**, and select its License and Profiles.
- **Many Devices at once** - Assign Licenses from the Devices list under **Collection > Configuration > Licenses**.

SHDR machines are collected through their connection at the Agent Hub, so nothing new connects to the Adapter. Devices read from an existing Agent are collected from that Agent, and resume where they left off after a restart.

## 4. Check That Data Is Arriving

The Quick Start's last step shows what's left to do, and how many Observations have been collected. **Collection > Connections** shows each Device's Connection Status, and **Collection > Data > Devices** shows the stored data (see [Monitoring Collection](https://www.trakhound.com/docs/mtconnect-server/monitoring)).

## Next Steps

- Store only the DataItems you need with a [Filter](https://www.trakhound.com/docs/mtconnect-server/filters), and limit how long Observations are kept with [Data Retention](https://www.trakhound.com/docs/mtconnect-server/data-retention).
- Read the collected data from your own applications with the [REST API](https://www.trakhound.com/docs/mtconnect-server/api), [MQTT](https://www.trakhound.com/docs/mtconnect-server/messages), or the [database](https://www.trakhound.com/docs/mtconnect-server/tables).
