Find the action editor, create a new action (either by right-clicking and selecting a new one, or by clicking on the New icon that looks like a blank page), give the action a name, click OK to close the new dialog action, and finally drag action on the toolbar.
a source
to share