Mailchimp 凭据#
¥Mailchimp credentials
你可以使用以下凭据验证以下节点:
¥You can use these credentials to authenticate the following nodes:
先决条件#
¥Prerequisites
创建 Mailchimp 账户。
¥Create a Mailchimp account.
支持的身份验证方法#
¥Supported authentication methods
- API 密钥
¥API key
- OAuth2
请参阅 选择身份验证方法 以了解应使用哪种方法。
¥Refer to Selecting an authentication method for guidance on which method to use.
相关资源#
¥Related resources
有关服务的更多信息,请参阅 Mailchimp API 文档。
¥Refer to Mailchimp's API documentation for more information about the service.
使用 API 密钥#
¥Using API key
要配置此凭据,你需要:
¥To configure this credential, you'll need:
- API 密钥:在你的 Mailchimp 账户的 API 密钥部分 中生成 API 密钥。请参阅 Mailchimp 生成 API 密钥文档 获取更详细的说明。
¥An API Key: Generate an API key in the API keys section of your Mailchimp account. Refer to Mailchimp's Generate your API key documentation for more detailed instructions.
使用 OAuth2#
¥Using OAuth2
Note for n8n Cloud users
Cloud users don't need to provide connection details. Select Connect my account to connect through your browser.
如果你需要从头开始配置 OAuth2,请使用 注册应用。更多信息,请参阅 Mailchimp OAuth2 文档。
¥If you need to configure OAuth2 from scratch, register an application. Refer to the Mailchimp OAuth2 documentation for more information.
选择身份验证方法#
¥Selecting an authentication method
如果你仅访问自己的 Mailchimp 账户数据,Mailchimp 建议使用 API 密钥:
¥Mailchimp suggests using an API key if you're only accessing your own Mailchimp account's data:
如果你编写的代码将应用数据与 Mailchimp 账户数据紧密关联,请使用 API 密钥。如果你需要访问他人的 Mailchimp 账户数据,则应使用 OAuth 2 (source)。
¥Use an API key if you're writing code that tightly couples your application's data to your Mailchimp account's data. If you ever need to access someone else's Mailchimp account's data, you should be using OAuth 2 (source)