How can I install Custom Google Search into my theme's main nav bar instead of the sidebar widg

How can I install Custom Google Search into my theme's main nav bar instead of the sidebar widget?