Motion sensor and window sensor to activate Wyze Bulb

Is it possible to program the Wyze Bulb to turn on if the motions sensor or window sensor is triggered?

Yes it is, build a shortcut for the bulb to turn on and use the sensor as the trigger