When you go to the edit page for any accordion shortcode, you will see that a new tab called “Off-Canvas” has been added to the settings. Here, you can change all the settings you need to set up an accordion that is on the off-canvas sidebar.
Enable the off-canvas and adjust the output of the sidebar and the trigger button here. When you are done with it, save the settings.