Provided are methods for activating an antigen-presenting cell and eliciting an immune response by inducing an inducible pattern recognition receptor adapter, or adapter fragment, and CD40 activity. Also provided are nucleic acid compositions comprising sequences coding for chimeric proteins that include an inducible CD40 peptide and an inducible pattern recognition receptor adapter or adapter fragment.