Understanding the interaction between plant and pathogens/herbivores is crucial to ensure long lasting and environmentally friendly system for plant protection. We have chosen potato, as one of the most important crops, its most economically important viral pathogens potato virus Y (PVY), and the most important insect pest Colorado potato beetle (Leptinotarsadecemlineata L.) as our study system. In plants, pathogen or pest attack initiates a complex signaling network, orchestrating massive changes in gene expression and extensive reprogramming of metabolism. For an efficient response the activation of plant immunity must be rapid, efficient and targeted. The combination of signaling modules that are elicited in a specific pathosystem differs in composition, magnitude and timing, leading to specificity of response with the outcome that can be beneficial either for the plant or for its attacker. To disentangle the complexity of immune signaling network we need to understand the dynamical properties of the system. This will be achieved using highly interdisciplinary approach. We will develop sensor potato plants that will allow in-vivo precise monitoring of spatiotemporal response of plant cells to pathogen and pest attack. The data generated using this approach will be suitable for mathematical modeling of responses, following the paradigm of systems biology. Altogether this will represent a breakthrough towards understanding the signaling mechanisms of defense response. Moreover, the new methodologies developed within the project will enable faster implementation of synthetic biology in plant sciences, which is currently lagging behind in the availability of their building blocks.