It's a little bit different if you have worked in Magento1. The easiest way I can suggest to you is to follow this 5 minute video tutorial, it will lead you from the start until the end of configurable product creation.
https://www.youtube.com/watch?v=YnDF0pW5Gn8
If this response was helpful to you, consider giving kudos to this post.
If this response solved your problem, click accept as solution to help others solve this issue