sound bar did not come with anything to conect to wall for hanging what do i do

A shelf or just two or three small brackets of the appropriate size. Mount them to the wall studs. The vertical would be behind the soundbar. You can velcro the soundbar to them if you need to.
http://www.lowes.com/pd_315687-1277-DPB115_4294711038__?productId=3169841&Ns=p_product_qty_sales_dollar|1&pl=1&currentURL=%3FNs%3Dp_product_qty_sales_dollar|1&facetInfo=