ema config
If you means programmatically populate EMA Config, please refer to this question.
Otherwise, please explain more.