Yes, that way it works.
Thats exactly what I have done for my RDS TMC application.