Extension Connections

Summary

Extension Connections enable secure authorization between your Zoho Writer extension and third-party services. Connections act as bridges for authentication and data exchange, with Zoho Writer handling all authorization processes.

Overview

Connections are authorization configurations that:

  • Enable Integration — Connect extensions with third-party services
  • Secure Authentication — Manage secure credential handling
  • Abstract Complexity — Zoho handles OAuth and auth details
  • Simplify Development — Developers focus on functionality, not security

How Connections Work

Extension → Connection → Zoho Writer → Third-Party Service
                     ↓
            (Authorization & Security)
  1. Create Connection in Zoho Sigma
  2. Copy Connection JSON from Sigma
  3. Paste in plugin-manifest.json under "connectors" attribute
  4. Use in Extension by referencing the connection link name
  5. Zoho Handles Authorization automatically

Security Benefits

  • Credentials are never exposed to extension code
  • Zoho Writer manages OAuth flows
  • Prevents malicious access to sensitive information
  • Routes requests through secure proxies
  • Supports CORS for cross-origin requests

Authorization Methods

MethodDescription
OAuth 2.0Modern, token-based authentication
Basic AuthenticationUsername/password-based
Custom ServicesDefine your own authentication

Sub-Sections

Connection Lifecycle

  1. Create — Set up connection in Sigma
  2. Configure — Add to plugin-manifest.json
  3. Use — Reference in extension code
  4. Update — Modify connection details when needed
  5. Delete — Remove when no longer needed

Best Practices

  • Use descriptive connection link names
  • Document which connections are required
  • Test all connections before publishing
  • Never hardcode credentials in extension code
  • Request only necessary scopes
  • Handle cases when a connection is unavailable

Troubleshooting

ProblemSolution
Connection not workingVerify connection created successfully, check JSON in manifest, confirm connectionLinkName spelling
Authorization failuresVerify user has connected the service, check credentials are valid, review scope requirements
Request failuresVerify API endpoint is correct, check request method and parameters, review error logs

Related Pages

Connection Plugin-Manifest Sample Request

Copied{
  "service": "WRITER",
  "modules": { ... },
  "connectors": [
    {
      "name": "Service Name",
      "connectionLinkName": "connection_link",
      "scopes": ["scope1", "scope2"]
    }
  ]
}

Using Connections Sample Request

Copied{
  "service": "WRITER",
  "modules": { ... },
  "connectors": [
    {
      "name": "Service Name",
      "connectionLinkName": "connection_link",
      "scopes": ["scope1", "scope2"]
    }
  ]
}