Just drag the bar to any side of the desktop to dock it.
A tray icon will appear when it is docked.
You can right click on the tray or the bar to access options.