How do I add a new variable?

Click the Add Variable button at the bottom of any section. If a detected framework is missing one, you can also click it straight from the amber banner at the top of the editor — saves a scroll.