Skip to content

ERPNext 凭据#

¥ERPNext credentials

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

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

先决条件#

¥Prerequisites

¥Create an ERPNext account.

支持的身份验证方法#

¥Supported authentication methods

  • API 密钥

¥API key

相关资源#

¥Related resources

有关服务的更多信息,请参阅 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 访问”生成。

¥An API Key: Generate this from your own ERPNext user account in Settings > My Settings > API Access.

  • API 密钥密钥:使用 API 密钥生成。

¥An API Secret: Generated with the API key.

  • 你的 ERPNext 环境:

¥Your ERPNext Environment:

  • 云端托管:

    ¥For Cloud-hosted:

    • 你的 ERPNext 子域名:请参考 FAQs

    ¥Your ERPNext Subdomain: Refer to the FAQs

    • 你的域名:选择 erpnext.comfrappe.cloud

    ¥Your Domain: Choose between erpnext.com and frappe.cloud.

  • 自托管:

    ¥For Self-hosted:

    • 你托管 ERPNext 的完全限定域名

    ¥The fully qualified Domain where you host ERPNext

  • 选择是否忽略 SSL 问题:选中后,即使 SSL 证书验证不可用,n8n 也会连接。

¥Choose whether to Ignore SSL Issues: When selected, n8n will connect even if SSL certificate validation is unavailable.

如果你是 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.