Your problem will be subject movement. If there's no movement, it's easy - just set the exposure for the background and candles, and pop in the flash to balance (gelled for colour). Just as normal.
You'd be running a long exposure, but that wouldn't be an issue as I guess you have VR, or a tripod. However, if there are people moving as there almost certainly will be, then that changes everything.
So you've got to get the shutter speed up to a reasonable level with higher ISO and lower f/number. The flame from the tea lights will show up quite well, much better than the light they cast which will of course be feeble. I wouldn't even attempt to get that, just use an exposure which shows they are alight.
How you eventually balance everything up is down to judgement and the particular situation. If people are sitting and chatting you could probably get away with quite a long shutter speed, I'd take a punt at maybe 1/15sec, using the flash to freeze movement, and just put up with a bit of ambient blur with folks that can't sit still.