BMW S50B32 Vanos connection

Hi everyone,
I have the following problem: I want to run the double VANOS on my BMW S50B32. How do I need to connect it, and do you have the parameters I need to set it up properly?
Looking forward to your replies.
Best regards,
Niko