# Connect Tuya and Smart Life devices

> Connect your Tuya account, link smart plugs, switches, bulbs and sensors to a building, switch them and use them in automations.

Source: https://thebuilding.cloud/help/connect-devices/tuya-smart-life
Last updated: 2026-11-15

Smart plugs, switches, bulbs and sensors from Tuya and the Smart Life app can show in TheBuilding.Cloud. You connect your Tuya account once, then link each device to a building and use it on the dashboard and in automations.

## What you need

- Your devices already added and working in the Tuya or Smart Life app.
- The **App key**, **App secret** and **App list** of your Tuya account. Your installer can give you these.
- The Enterprise plan, or Pro with the smart devices add-on.
- The organisation account. Only the organisation can connect the Tuya account and link devices.

> **Note:** Devices must be in a Tuya account on the Europe data centre.

## Steps in TheBuilding.Cloud

1. Open your profile, then **Integration**.
2. On the **Tuya** card, fill in **App key**, **App secret** and **App list**.
3. Click **Connect**. You see "Updated Successfully."
4. Open the building, then its **Smart devices** tab.
5. Click **Link a device**, choose the device in **Device** and click **Save**.

Your devices also show on the **Smart devices** page (**Hardware**, **All Hardware**, then the **Smart devices** card), with the building each one is linked to.

## Check it works

- On the **Smart devices** page, each device shows **Online**, **On**, **Off**, **Open** or **Closed**, or **Offline** in red when the Tuya cloud cannot reach it.
- Turn a plug or switch on and off from the page. You see "Switched" when it worked.
- Bulbs also have a **Brightness** button. Sensors show **Sensor only** or **Reading only** and can't be switched.

## Use it in automations

Smart devices can start an automation and be switched by one:

- switches and bulbs: switched on, switched off, brightness changed;
- door contacts: open or closed;
- SOS buttons: pressed.

## Not working?

- **No smart devices**: devices come from your Tuya app. Check the account is connected in **Integration** and the device is in that account.
- **The smart device cloud did not answer just now.**: try again in a minute.
- **Not switched**: the device did not switch. Check it is online in the Tuya app.
- To take a device off a building, use **Unlink from building** on its row. It stays in your Tuya account.

See also [Add your first door](https://thebuilding.cloud/help/getting-started/add-your-first-door) and [Change your plan, see invoices and update your card](https://thebuilding.cloud/help/billing/plan-invoices-and-card).

Still stuck? Email help@thebuilding.cloud.
