How to add gateway in Sparkweb

Does the sparkweb support Gateway now? I’m not sure whether the XIFF lib support the gateway. if I want to add by myself, How to start my work? Anyone can give me some instructions? thanks in advance