add integration with the mediator api