mid integration