The Side Button is one of many useful Accessibility features on the iPhone, fittingly, you'll find options to customize its functions in Accessibility settings. Head on to Settings > Accessibility ...
Go to Settings > Action Button, swipe left through the options to "Shortcut" and tap the dropdown. Under "My Shortcuts," tap ...