> ## Documentation Index
> Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Slides Integration: Create & Edit Presentations

> Create and edit presentations through the Slides API. Agents can add slides, insert text and images, and update layouts.

## Overview

OneCLI connects AI agents to Google Slides through Google's OAuth flow. Agents can read presentation content, create new slide decks, and edit existing ones. The gateway injects OAuth credentials into requests to the Google Slides API automatically.

This is useful for agents that generate presentations from data, update slide content programmatically, or extract information from existing decks.

## Setup

<Steps>
  <Step title="Go to Connections">
    Open the OneCLI dashboard and navigate to **Connections** > **Google Slides**.
  </Step>

  <Step title="Authorize">
    Click **Connect Google Slides**. You'll be redirected to Google to authorize OneCLI. Review the permissions and click **Allow**.
  </Step>
</Steps>

## What agents can do

* Read presentation structure (slides, layouts, masters)
* Get text content from all slides in a presentation
* Create new presentations with a specified title
* Add new slides with chosen layouts
* Insert, replace, or delete text on slides
* Add and position shapes, images, and tables
* Apply text formatting (font, size, color, bold, italic)
* Duplicate, reorder, and delete slides
* Read and modify speaker notes
* Replace placeholder text and images across all slides

## Controlling access with rules

Use OneCLI's [rules engine](/guides/rules) to limit what agents can do with Google Slides. For example, you can allow read-only access for data extraction agents, or restrict write operations to specific presentations. Rules are evaluated before credential injection, so a blocked request never reaches Google Slides.
