How do I enable the admin form for a custom widget that is called in a sidebar template, not to widget area?

How do I enable the admin form for a custom widget that is called in a sidebar template, not to widget area?