Extending Google Slides Stay organized with collections Save and categorize content based on your preferences.
Page Summary
Google Apps Script allows you to programmatically create and modify Google Slides presentations using the Slides service.
You can customize Google Slides by adding custom menus, dialog boxes, and sidebars with Apps Script.
Apps Script lets you integrate Slides with other Google services like Calendar, Drive, and Gmail.
You can publish your Apps Script projects as add-ons for Google Slides to share them with others.
Google Apps Script lets you programmatically create and modify Google Slidespresentations using theSlides service.You can use Apps Script to addcustom menus,dialogs, and sidebars to Slides. Youcan also integrate Slides with otherGoogle services like Calendar, Drive, andGmail.
Note: TheSlides service is therecommended way of working with Google Slides in Apps Script. You can alsoenable theSlides advanced service if you needto invoke theSlides API directly.Get started
Apps Script includes abuilt-in servicethat lets you programmatically create, read, and edit Google Slides.Apps Script can interact with Google Slides in two ways:
- Any script can create a new presentation or access an existing presentationif the user has the appropriate access permissions for that presentation.
- A script can bebound to a presentation, whichprovides the script more direct access to the Slides user interface forthat script. To create a bound script, selectExtensions>Apps Scriptfrom within Google Slides.
Custom menus and user interfaces
You can customize Google Slides by adding custom menus, dialog boxes, andsidebars. To learn the basics of creating menus, see theguide to menus. To learn about customizing thecontent of a dialog box, see theguide to HTML service.
If you're planning to publish your custom interface as part of anadd-on, follow thestyle guide for consistency with thestyle and layout of the Google Slides editor.
add-ons for Google Slides
add-ons are specially packaged Apps Scriptprojects that run inside Google Slides and can be installedfrom the Google Slides add-on store. If you've developed a script for Google Slides and want to share it with the world, Apps Script lets youpublish your script as anadd-on so other users can install it from the add-on store.
See thesample translate add-onorsample progress bar add-onfor examples of Slides add-ons.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-11 UTC.