# Connecting your First Machine

## Installing the Service

In this example setup we will install a Connectware service via the sample service commissioning file to make a connection to a machine via the OPC UA protocol.

The sample service commissioning file contains all the configuration that are needed to install the service. Once we have installed the service, the machine connection will be automatically included in your Connectware dashboard.

1. Download the sample service commissioning file. To learn more about the structure of this service commissioning file, see [Your First Service Commissioning File](https://docs.cybus.io/2-0-6/getting-started/connecting-your-first-machine/your-first-service-commissioning-file).

{% file src="<https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-a99ddaac2d824d1ea13f8a35d6f5b402d0359750%2Fconnect-your-first-machine.yaml?alt=media>" %}

2. Open your browser and enter the IP address of your host (**https\://\<HOST-IP>**).
3. Enter your **Username** and **Password**.
   * The default login credentials are:
     * Username: `admin`
     * Password: `admin`
4. Click **Sign in**.
5. On the navigation panel, click **Services**.

<figure><img src="https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-ff601acccf82a4f3d5285b9f6cc23ac2e56d3cf1%2F1_service_menu_toolbar.png?alt=media" alt=""><figcaption></figcaption></figure>

6. Click **Upload Service**.
7. Click **Choose File** and select the `connect-your-first-machine.yaml` file.
8. Click **Install** to confirm the parameters and start the installation. The service is now installed but not yet enabled.
9. In the **Service Overview** list, click your service to open the **Service Details** view.
10. To enable the service, click **Enable**.
11. In the **Authorization Required** dialog, click **Allow** to confirm the configuration changes to Connectware.

Your service is now installed and the data can flow. Lets monitor the incoming machine data in the [Data Explorer](https://docs.cybus.io/2-0-6/documentation/monitoring/data-explorer) of Connectware.

## Monitoring Machine Data

Data in the form of MQTT messages is organized into topics for easy structuring and interconnection by any publisher or subscriber. The [Data Explorer](https://docs.cybus.io/2-0-6/documentation/monitoring/data-explorer) allows you to monitor the data of your topics.

1. On the navigation panel, click **Data**.
2. In the **Available Topics** list, select your connection. You can now monitor the incoming machine data.

<figure><img src="https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-a7ca4ac7b2d253b77b09e05cb310deca823ef0f2%2Fdata-explorer-sample-service-commissioning-file.png?alt=media" alt=""><figcaption></figcaption></figure>
