A simple question on how to put equations in Dynare

Hi,
I am new of Dynare and I have a doubt that is disturbing me in the last days
I am trying to write a RBC model and I was wondering which are the right equations to put in.
My question is simple, often we derive first order conditions from a Lagrangian and then we manipulate it to give economic meaning. As an example Lagrangian multipliers (lambda, mu;...) normally disappear in order to have "nice" Euler equations. Now my question is, when a model is complex, do I always need to rearrange the FOC or can I put it directly in dynare? I saw many paper that declare in the appendix only the FOC as they are after the maximization, and i was wondering if I can use these equations directly in dynare to replicate a model. Moreover i saw paper in which the log linearization is done on the "non rearranged" form and still I was thinking if it is possible to use it to write a linear model in dynare.
Thanks!
I am new of Dynare and I have a doubt that is disturbing me in the last days

My question is simple, often we derive first order conditions from a Lagrangian and then we manipulate it to give economic meaning. As an example Lagrangian multipliers (lambda, mu;...) normally disappear in order to have "nice" Euler equations. Now my question is, when a model is complex, do I always need to rearrange the FOC or can I put it directly in dynare? I saw many paper that declare in the appendix only the FOC as they are after the maximization, and i was wondering if I can use these equations directly in dynare to replicate a model. Moreover i saw paper in which the log linearization is done on the "non rearranged" form and still I was thinking if it is possible to use it to write a linear model in dynare.
Thanks!