Skip to content

ERPNext 凭据(ERPNext credentials)#

你可以使用以下凭据验证以下节点:

🌐 You can use these credentials to authenticate the following nodes:

先决条件(Prerequisites)#

支持的身份验证方法(Supported authentication methods)#

  • API 密钥

有关该服务的更多信息,请参考 ERPNext 文档

🌐 Refer to ERPNext's documentation for more information about the service.

有关使用该框架的更多信息,请参阅 ERPNext 开发者文档

🌐 Refer to ERPNext's developer documentation for more information about working with the framework.

使用 API 密钥(Using API key)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need:

  • 一个API密钥:在你的ERPNext用户账户中通过设置 > 我的设置 > API访问生成。
  • 一个 API 密钥:由 API key 生成。
  • 您的 ERPNext 环境
    • 针对云托管
      • 您的 ERPNext 子域名:请参阅 常见问题
      • 您的 域名:在 erpnext.comfrappe.cloud 之间选择。
    • 对于 自托管:
      • 你托管 ERPNext 的完整 域名
  • 选择是否忽略 SSL 问题:选中后,即使无法验证 SSL 证书,n8n 也会进行连接。

如果你是 ERPNext 系统管理员,你还可以为其他用户生成 API 密钥和秘密。有关更多信息,请参阅 ERPNext 添加用户文档

🌐 If you are an ERPNext System Manager, you can also generate API keys and secrets for other users. Refer to the ERPNext Adding Users documentation for more information.

如何查找 ERPNext 云托管账户的子域名(How to find the subdomain of an ERPNext cloud-hosted account)#

您可以通过查看浏览器的地址栏找到您的 ERPNext 子域名。介于 https://.erpnext.comfrappe.cloud 之间的字符串就是您的子域名。

🌐 You can find your ERPNext subdomain by reviewing the address bar of your browser. The string between https:// and either .erpnext.com or frappe.cloud is your subdomain.

例如,如果地址栏中的 URL 是 https://n8n.erpnext.com,子域名是 n8n

🌐 For example, if the URL in the address bar is https://n8n.erpnext.com, the subdomain is n8n.