include domain api in the gui