Thanks for reaching out!
In order to use Live Variables, you'll have to register them in your code first and add them in the Optimizely dashboard.
Here is how you can register a Live Variable:
Once this is done, you'll need to add the Live Variable in the Optimizely Visual Editor using this interface:
I hope that is helpful. Feel more than free to reply back with any additional questions at all.