volume envelope for vst instrument track?

Is there a way to put a volume envelope on an instrument track? I would like to fade parts of the track, not the whole thing.

Automation

Enable write automation on the track and move the volume fader in the mixer during playback to record its movement.