# Subscribing to shared attributes changes ## Devices | Supported Devices | |-------------------| | ESP32 | ## Framework Espressif IDF (ESP-IDF) ## ThingsBoard API [Shared Attributes](https://thingsboard.io/docs/user-guide/attributes/#shared-attributes) ## Feature Allows subscribing to the given shared attributes, meaning a callback will be called as soon as one of them has been changed on the cloud. Optionally no keys can be passed, this functions as a sort of whitelist and allows every single shared attribute update to call the given callback as soon as it changes its value.
To create a project from this example, run:
idf.py create-project-from-example "thingsboard/thingsboard=0.15.0:0017-espressif_esp32_process_shared_attribute_update"