Google Docs
Prefer guided AI setup?
Instead of following these steps manually, you can use the AI Credential Assistant — describe what you want to connect and the AI will walk you through the setup step by step, tailored to your account.
Overview
Connect your Google Docs account to Nirvai to create, read, and edit documents programmatically.
Supported Authentication Methods
- OAuth2
Prerequisites
- A Google account
- Access to Google Docs
Setup Instructions
Option 1: OAuth2 (Recommended)
- In Nirvai, go to Credentials > Add Credential
- Select Google Docs OAuth2
- Click Authorize
- Sign in with your Google account
- Review and accept the requested permissions:
- View and manage your documents
- Create and edit document content
- You'll be redirected back to Nirvai with your credential saved
Permissions Requested
- documents: Full access to documents
- documents.readonly: View document content
- drive.file: Access to files created/opened by the app
What You Can Do
- Create and edit documents
- Insert, replace, and format text
- Read document structure and content
- Generate documents from templates
Troubleshooting
Common Issues
- Access Denied: Ensure you authorized all requested scopes
- Document Not Found: Verify the document ID and permissions
- Quota Exceeded: Check your Google Docs API usage limits
Related Resources
Adapted from Google documentation for Nirvai platform
Next Steps
Got your credential? Connect it to an agent
Use the AI Tool Creator to turn this credential into agent-callable tools. Describe what your agent should be able to do and the AI investigates the API, configures the endpoints, and gives you a reviewable toolkit before saving anything.