# How to connect the Yanzi Lifecycle cloud on akenza

![](/files/Wo7VejeYdU7tigwheEDd)

{% hint style="success" %}
**Applications**:

* Smart Buildings (Occupancy, motion, room ambient)

**Available sensors**:&#x20;

* Motion sensor
* Temperature sensor
* Air quality sensor
* Humidity detector
* Brightness sensor
* Noise sensor

**Product features:**&#x20;

* Simple to install (Adhesive backing)
* Battery lifetime expectancy up to **5 years** with included batteries
* End-to-End encryption

You will find more information about **Yanzi** [here](https://yanzi.se/).
{% endhint %}

In this tutorial, you will learn how to connect the Yanzi Lifecycle cloud (YLC) to akenza. To connect the YLC to akenza, we will use an **HTTP WebSocket** as a device connector on the **Data Flow** on akenza.

### 1. Setup your Yanzi Lifecycle cloud

As a first step, you need to set up your YLC account and integrate your Yanzi Gateway and its connected devices.&#x20;

#### 1.1 Setup your account

In order to set up your **YLC account**, follow the onboarding steps [here](https://yanzi.dev/user-manual/).

{% hint style="info" %}
[Yanzi Lifecycle](https://yanzi.dev/user-manual/) is the tool for managing your Yanzi infrastructure and sensors throughout the entire lifecycle - from planning to installation, changes, and monitoring of existing systems as well as redeployments.
{% endhint %}

#### 1.2 Integrate your Gateway

Once your account is created, proceed with the connection of your gateway by selecting *+ Gateway*.

![Project overview on YLC](/files/eViucZA0KrU1AoTuDOnE)

Proceed with all required steps, to successfully connect your Yanzi Gateway to the YLC.&#x20;

{% hint style="info" %}
Detailed step explanations can be found [here](https://yanzi.dev/user-manual/).
{% endhint %}

![Connect a gateway on YLC](/files/zhbmrztapBX4nPXTI2TB)

#### 1.3 Setup of Yanzi devices

Proceed further with the installation of Yanzi devices. Installing your Yanzi infrastructure is done in two steps, physically connecting your hardware and registering it in the YLC.&#x20;

{% hint style="info" %}
Follow the steps [here](https://yanzi.dev/user-manual/#prospects-planning) to onboard your devices to your gateway.
{% endhint %}

Upload a floor map to place your devices.

![Floor map](/files/eOpKXaWL0IDTaMuFKZf6)

In the menu *Physical devices - List*, all your connected devices are displayed with their ID and respective measured values.

![Device list](/files/17g2pJNbJKkcW5ScZ4up)

Now as your YLC is up and running, you are ready to connect your account to akenza.

### 2. Setup on akenza&#x20;

#### 2.1 Create a Data Flow on akenza

Go to *Data Flow* in the left-side menu and select *Create Data Flow*. Select **Yanzi** as a device connector. The following information is required:

* **YLC account credentials**
  * Username
  * Password
* **Location ID**
  * See *Settings-General* in your YLC account
* **Host**
  * cirrus5.yanzi.se

![Data Flow of Yanzi Motion+](/files/2RohvudeuEWoL0dAHSQg)

Proceed with selecting your desired **Yanzi Device Type** and Output Connector to define the data destination accordingly. Find out more about Output Connectors [here](https://docs.akenza.io/get-started/connectors).

Your YLC account is now connected to the **Data Flow** on akenza. Proceed with the creation of your Yanzi device on akenza.&#x20;

#### 2.2 Create a Yanzi device on akenza

Go to [**Asset Inventory**](/akenza.io/get-started/create-new-device.md) and select *Create Device*. Give a name to your device and optionally a description, tag, and a custom field. Select your newly created Data Flow. Insert the device ID which can be found on your YLC account within the *Hardware inventory*.&#x20;

![Device ID](/files/umFLmgU0AncwCSK6tdB0)

Once successful created, your Yanzi device will be displayed on the **Asset Inventory Overview**. Incoming data can be viewed on the **Device Detail Page** by selecting your Yanzi device on the **Asset Inventory Overview**.

![Device detail page](/files/TmBMbgEArzeVjo1dTiTY)

{% hint style="info" %}
Do you want to import multiple devices at once? Read more about the **bulk import** function [here](/akenza.io/get-started/create-new-device/bulk-import-csv-templates.md).
{% endhint %}

**Congratulations**, you have successfully connected the Yanzi Lifecycle cloud to akenza.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akenza.io/akenza.io/deprecated/how-to-connect-the-yanzi-lifecycle-cloud-on-akenza.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
