---
schema_version: "1"
id: 498d1b84ffc04f9cd74eb7bfcd4afbce6ebfc14f6beaafa2ea3a47d3b98f1f85
title: Integrate Salesforce Scheduler with External Calendars
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/salesforce-scheduler-dev-guide/guides/salesforce-scheduler/salesforce-scheduler-integrate-with-internal-calendars.md
canonical_url: https://developer.salesforce.com/docs/service/salesforce-scheduler-dev-guide/guide/salesforce-scheduler-integrate-with-internal-calendars.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 99d28c25aa85f7e3437ee9b6d32caabd3c42801300690a42176ecba8a28e7f22
products:
  - Salesforce Scheduler Developer Guide
  - Service Cloud Developer Content
---

# Integrate Salesforce Scheduler with External Calendars

Salesforce Scheduler provides developer resources that you can use to write appointments directly to, and read events from, external calendars.

For example, use the `LxScheduler.ServiceResourceScheduleHandler` Apex interface to write a custom Apex class to read external calendar events. Then, associate the Apex class with Salesforce Scheduler flows or API calls through the Read External System Events scheduling policy rule. To write appointments to external calendars, first enable the Publish Appointments as Platform Events setting, and subscribe to the new `AppointmentSchedulingEvent` platform event to receive event notifications when users create, modify, or delete appointments. Then, use an API to write the platform events to an external calendar.

The subsequent topics in this section list the provided developer resources for your reference. For detailed instructions about how to use these resources to integrate Salesforce Scheduler with external calendars, see these topics in Salesforce Scheduler help.

-   **[Apex Classes for External Calendars](https://developer.salesforce.com/docs/service/salesforce-scheduler-dev-guide/guide/salesforce-scheduler-apex-classes-for-ext-calendars.md)**  


    The LxScheduler namespace provides an interface and classes for integrating Salesforce Scheduler with external calendars and determine the availability of service resources.

-   **[Platform Events for External Calendars](https://developer.salesforce.com/docs/service/salesforce-scheduler-dev-guide/guide/salesforce-scheduler-platform-events.md)**  


    Use the AppointmentSchedulingEvent to notify subscribers when an appointment schedule is added, updated, or deleted.


**See Also**  


-   [Salesforce Help: Check External Calendars to Determine Resource Availability](https://help.salesforce.com/apex/HTViewHelpDoc?id=ls_read_external_calendar.htm)
-   [Salesforce Help: Write Salesforce Scheduler Appointments to External Calendars](https://help.salesforce.com/articleView?id=platform.ls_ext_cal_update.htm&type=5)

