How to connect CLIP and styleGAN?

I have a working CLIP and a working styleGAN patch.
They are combined for generating images / videos. Here is some background:

Still I am not really sure, how to connect those networks in detail.
Are there some code examples or good explanations that help me to understand?

Maybe this is a good explanation (I understand it a little better now):