跳到主要内容

配置 - Google Cloud 应用

步骤 1:创建 Google Cloud 项目

  1. 前往 Google API Console
  2. 点击 Create a project 并为其命名。

步骤 2:启用所需 API

  1. 选择您的项目并点击 Enable APIs and Services
  2. 搜索并启用以下每个 API:
    • Google Drive API
    • Google Docs API
    • Google Sheets API
    • Google Slides API

步骤 3:配置 OAuth 同意屏幕

  1. 进入 OAuth consent screen 选项卡。
  2. 选择适当的发布状态:
    • Production:您的站点必须使用 HTTPS。
    • Testing:可使用 HTTP 或 HTTPS;认证期间会显示额外的认证页面。
  3. 点击 Edit App 并填写所需信息。
  4. 在 Scopes 和 Test Users 步骤中点击 Save and continue
  5. 在 Summary 选项卡中点击 Back to dashboard

步骤 4:创建 OAuth 凭证

  1. 进入 Credentials 选项卡。
  2. 点击 Create credentialsOAuth client ID
  3. 选择 Web application
  4. Authorized redirect URIs 中添加:
    https://yourdomain.com/admin/google_workspace/redirects
    (将 yourdomain.com 替换为您的实际域名。)
  5. 点击 Save

步骤 5:连接到 Perfex CRM

  1. 从 Google Cloud 复制 Client IDClient Secret
  2. 将其粘贴到 Perfex CRM 的模块设置中。
  3. 点击 Save & Authorize
  4. 如处于 Testing 模式,在同意屏幕选择 Continue
  5. Google Sheets Integration 状态现在应显示为 Authorized
Support