1. Home
  2. Docs
  3. AI
  4. Connections
  5. How To Connect Google™ Workspace Apps

How To Connect Google™ Workspace Apps

Want Ajelix Agent to create charts in your Google Sheets? Build presentations in Google Slides for you? Or edit your Google Docs in real-time?

This setup is required to unlock Ajelix agent’s full capabilities with Google™ Workspace. Without it, the AI can only view or discuss files you paste into chat. With these credentials configured, Ajelix Agent gains the ability to:

  • Create and edit Google Docs, Sheets, and Slides directly
  • Generate charts and visualizations inside your spreadsheets
  • Build presentations from scratch or modify existing slides
  • Automate document workflows across your Google Workspace

If you want to experience true agentic Google Workspace interactions, where AI doesn’t just suggest but actually does the work inside your files, complete this setup once, and you’re ready to go.

Supported Services: This guide covers Google DocsGoogle Sheets, and Google Slides. The process is identical for all three; the only difference is which specific API you enable in Step 2. To complete this guide, you have to have a Google™ account and access to Google Cloud Console.

1. Create a Google™ Cloud Project

  1. Go to console.cloud.google.com
  2. Click the project dropdown at the top of the page
  3. Click “New Project”how to create a new project in google cloud console workspace
  4. Enter a project name (e.g., “Ajelix-GWorkspace”)
  5. Click “Create”give name to your google workspace project

2. Enable the Required API

Note: The API you enable depends on which Google™ service you want to use:

  • For Google Docs → Enable “Google Docs API”
  • For Google Sheets → Enable “Google Sheets API”
  • For Google Slides → Enable “Google Slides API”
  1. In your project, navigate to APIs & Services → LibraryGo to apis and services in google console
  2. Search for the API you need (either Google Slides, Google Sheets, or Google Docs):search for the right api service in google console
  3. Click on the API and click “Enable”enable api key in google workspace console

The rest of the steps below are the same for all the APIs you want to use.

3. Create a Service Account

  1. Go to APIs & Services → Credentialscreate service account in google console
  2. Click Create Credentials → Service Account
  3. Enter a name (e.g., “my-service or project”)
  4. Click “Create and Continue” (you can skip permissions for now)
  5. Click “Done”fill out settings for service account in google console

4. Create and Download Credentials

  1. Go to APIs & Services → Credentials
  2. Click the email address of your service accountsettings to download credentials
  3. Go to the Keys tab
  4. Click Add Key → Create New Keygoogle console setup create new key
  5. Select JSON format
  6. Click “Create”
  7. The JSON file will download automatically. Save it because you will have to upload it to the Ajelix workspace.

5. Share Access with the Service Account

If you want Ajelix to access existing files:

  1. Copy the service account email (found on the Credentials page)copy the service account email you created
  2. Open your Google Doc, Sheet, or Slide
  3. Click Share and paste the service account email
  4. Grant “Editor” permissionshare the doc access with the service account email

6. Upload Credentials to Ajelix

  1. In the Ajelix chat, click the attachment/upload button & select the .json file you downloaded from the Google console.
  2. Write a prompt and add a URL for the doc you want to edit.
  3. Enable either Google Docs, Google Sheets, or Google Slides AI skill
  4. Switch to Agent mode
  5. Select the more powerful LLM model (the more intelligent the model the better the output) & hit send.send prompt to ajelix agent

Once uploaded, Ajelix can now interact with your files. You can start requesting actions like:

  • Creating or editing Google Docs
  • Analyzing data in Google Sheets
  • Generating presentations in Google Slides
We’re actively working on Ajelix documentation to help you get the most from AI. Found a gap, have feedback, or want to suggest a new guide? We’d love to hear from you at support@ajelix.com