Draw a line to represent the start, end and angle of the gradient. For example if you want to make an horizontal gradient, just draw an horizontal line from left to right.
For this tutorial I will draw a diagonal line from top left corner to bottom right corner so this will make a diagonal gradient!