How to generate a shortcode

Shortcodes can be generated by going to the page or post you wish to add them to and going to the visual tab (instead of the text tab) within that page or post. In the toolbar is a dropdown under FAQs and select the type of shortcode you want.