Duaer

Integrations

Set up ERPNext credentials in Duaer

Store ERPNext connection details in Duaer for digital-organization nodes to use at runtime. Secrets are protected by the instance encryption key and are not written into node parameters.

Generate ERPNext API keys

The Duaer ERPNext API credential:

  1. In ERPNext, open the User list, pick a user, and click Generate Keys under Settings > API Access.
  2. Put API Key and the API Secret, shown once in the dialog, in the credential.
  3. With Environment set to Cloud-Hosted, fill in Subdomain: duaer in https://duaer.erpnext.com. With Self-Hosted, put the full address, such as https://erp.example.com, in Domain.

The key carries all of its creator’s permissions. For a workflow, generate it from a dedicated account with the fewest rights needed.

ERPNext API fields in Duaer

In Duaer, choose ERPNext API when you create a credential, then fill in these fields:

  • API Key (secret)
  • API Secret (secret)
  • Environment: Default: Cloud-Hosted. Options: Cloud-Hosted, Self-Hosted.
  • Subdomain: Subdomain of cloud-hosted ERPNext instance. For example, "duaer" is the subdomain in: https://duaer.erpnext.com. Shown when Environment is Cloud-Hosted.
  • Domain: Fully qualified domain name of self-hosted ERPNext instance. Shown when Environment is Self-Hosted.
  • Ignore SSL Issues (Insecure): Whether to connect even if SSL certificate validation is not possible. Default: off.

When you save, Duaer tests the connection with these values.

Duaer nodes that use it: ERPNext.

Save the connection in Duaer

Open Credentials and create ERPNext. Fill in the key, OAuth, or server fields. After you save, digital-organization nodes reference this credential instead of putting the secret in a parameter.

Credential values are protected by the instance encryption key. If you change or lose that key, stored credentials cannot be decrypted. See the hosting notes on encryption keys. The matching node is under the related node.

Who can use this credential

Who can see or edit it follows projects and roles. Do not paste secrets into chat or variables. External vaults are covered under external secrets.

Questions

Do ERPNext secret values appear in Duaer node parameters?

No. In Duaer, ERPNext secrets stay in the credential. Nodes only reference the credential. Execution records should not show the plaintext secret either.

What usually stops a ERPNext credential from saving in Duaer?

Wrong fields, an OAuth callback that does not match the instance URL, or a role that cannot create credentials. Check the fields ERPNext expects, then confirm you can create credentials in that project.

In this section