Google calendar

Dynamic Link to Moodle Calendar

Log in to Moodle, go to Calendar.

Click on the Export calendar button in the middle of the page.

Choose All events and Time period.

Click on Get calendar URL.

Copy this URL.

Log in your Google calendar.

On the left hand side on Other calendars click +

and click on Add by URL.

Paste the copied URL.

The user who generates the URL is enrolled in several courses, it is this information that will appear in the calendar. There is no way to generate a URL that only applies to one course.