I have found the solution so you need to make your course public you can do this in the application by editing the course. If you slide up from below you see a graph of the altitude below you see privacy. Below course name and type. When you set this to public you get the option In the upper right Corner to share the course. Not the most easy and direct way.
Would be better is you always had the share button in place and then you were asked if it's ok to make it public.