How do you connect your tv which is digital audio out to a sound bar with rca imput?

If your tv has RCA out, use that. If not, you could use an external digital cable tuner and connect that to your soundbar .