Discourse credentials#
คุณสามารถใช้ credentials นี้เพื่อเชื่อมต่อกับ node เหล่านี้:
Prerequisites#
- Host instance ของ Discourse
- สร้างบัญชีบน instance ที่ host ของคุณ และตรวจสอบให้แน่ใจว่าคุณเป็น admin
Supported authentication methods#
- API key
Related resources#
ดูรายละเอียดเพิ่มเติมเกี่ยวกับการใช้งาน API ได้ที่ Discourse's API documentation
Using API key#
ถ้าจะตั้งค่า credentials นี้ คุณต้องมี:
- URL ของ Discourse instance ของคุณ เช่น
https://community.n8n.io
- API Key: สร้าง API key ผ่าน Discourse admin panel ดูคำแนะนำในการสร้าง API key และระบุ username ได้ที่ Discourse create and configure an API key documentation
- Username: ใช้ชื่อของคุณเอง
system
หรือ user อื่น
ดูตัวอย่างได้ในส่วน Authentication ของ Discourse API documentation