Thank you for reaching out! Implementing this type of integration is not as easy as using a function I’m afraid. There are quite a few moving parts.
I recommend you to access SliceWP’s code and check the includes/base/integrations folder. In this folder you will find the code of the integrations that we already have.
I recommend exploring the code and building from those examples. Also, if you don’t have experience with WordPress development, I recommend working with a professional from the field.
Thank you and best wishes,