With an S-corp, the solo 401(k) must be established under the S-corp and contributions deposited by the S-corp. The S-corp takes the deduction for the employer portion and for the wages that were deferred to the plan by the individual as employee of the S-corp.