If you are using a NPN, you may not have to use the solid state relay but for safe measure, I'll assume you do. The way this is drawn, it has the + voltage for the prox. and the ss relay coming from the same source. Make sure this voltage is acceptable for both.
I hope it helps,
Brett