How to create variables?

I'm assuming you are referring to global variables? Use hub variables instead going forward. See