When creating a new course or in the course details screen when editing an existing course you can add on demand content from the On demand tab.
From this tab you can add existing on demand resources already in your library by clicking Add existing resource or create whole new resources by clicking Add new resource.
New resources added from this tab in courses will also be added to your on demand library. If you don't want resources included in the course to be visible to the public in your wider library of resources, you can either use priority access features to set the visibility of the resource(s) to private and manually control access that way or you can leave the resources in draft form and they will still be accessible to course attendees by accessing Courses on your provider page and selecting Details of the relevant course.
You may also be interested in: