401k Nonelective Contributions (profit sharing) as S-Corp

I'm hoping someone can help me. I'm not referring to employer-matched deferral contributions, but the nonelective contributions also referred to as profit-sharing that's limited to 25% of employee wages. Must these contributions go through Payroll or do you just pay that employee and expense it out on the 1120s? I know you do salary deferral contributions through payroll and employer-matched contributions made to their deferrals but can't find the answer on nonelective contributions.

 

Thanks

Curtis