配置 - Google Cloud 应用
步骤 1:创建 Google Cloud 项目
- 前往 Google API Console。
- 点击 Create a project 并为其命名。
步骤 2:启用所需 API
- 选择您的项目并点击 Enable APIs and Services。
- 搜索并启用以下每个 API:
- Google Drive API
- Google Docs API
- Google Sheets API
- Google Slides API
步骤 3:配置 OAuth 同意屏幕
- 进入 OAuth consent screen 选项卡。
- 选择适当的发布状态:
- Production:您的站点必须使用 HTTPS。
- Testing:可使用 HTTP 或 HTTPS;认证期间会显示额 外的认证页面。
- 点击 Edit App 并填写所需信息。
- 在 Scopes 和 Test Users 步骤中点击 Save and continue。
- 在 Summary 选项卡中点击 Back to dashboard。
步骤 4:创建 OAuth 凭证
- 进入 Credentials 选项卡。
- 点击 Create credentials → OAuth client ID。
- 选择 Web application。
- 在 Authorized redirect URIs 中添加:
(将 yourdomain.com 替换为您的实际域名。)
https://yourdomain.com/admin/google_workspace/redirects - 点击 Save。
步骤 5:连接到 Perfex CRM
- 从 Google Cloud 复制 Client ID 和 Client Secret。
- 将其粘贴到 Perfex CRM 的模块设置中。
- 点击 Save & Authorize。
- 如处于 Testing 模式,在同意屏幕选择 Continue。
- Google Sheets Integration 状态现在应显示为 Authorized。
Support
Visit the Themesic Support Portal.