Your first beer had chai flavor. Now you're asking how to make a chai-flavored beer? Perhaps you could detail what you did to get the chai flavor/aroma into your first beer and then explain how that differs from what you want to do with this next beer.
Barring that, my knee-jerk response is to add chai spices in the boil at or shortly before flameout. I would guess that your total weight of spices should probably be around ten grams for a five gallon batch, but I haven't done anything like this so wait for someone else's advice before you do it.
If you actually want the tea flavor as well, that might be a bit more of a challenge, as it gets covered up by beer flavors pretty quickly. Some tea leaves/bags in the mash would probably help, maybe some whirlpool after the boil, dry-hopping with tea, or even mixing your priming sugar into a strong chai tea mixture at bottling. I've tried making tea beers a couple times and haven't managed it yet, but I'm still hopeful I'll get it down in time.