PostHog credentials#
คุณสามารถใช้ credentials นี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้ได้:
Prerequisites#
สร้าง PostHog account หรือ host PostHog บน server ของคุณ
Supported authentication methods#
- API key
Related resources#
ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้ได้ที่ PostHog's API documentation
Using API key#
สำหรับการตั้งค่า credentials นี้ คุณจะต้องมี:
- API URL: กรอก domain ที่ถูกต้องสำหรับ API requests ของคุณ:
- บน US Cloud ใช้
https://us.i.posthog.com
สำหรับ public POST-only endpoints หรือhttps://us.posthog.com
สำหรับ private endpoints - บน EU Cloud ใช้
https://eu.i.posthog.com
สำหรับ public POST-only endpoints หรือhttps://eu.posthog.com
สำหรับ private endpoints - สำหรับ self-hosted instances ใช้ self-hosted domain ของคุณ
- ยืนยันของคุณโดยตรวจสอบ PostHog instance URL ของคุณ
- บน US Cloud ใช้
- API Key: API key ที่คุณใช้ขึ้นอยู่กับว่าคุณกำลังเข้าถึง public หรือ private endpoints:
- สำหรับ public POST-only endpoints ใช้ Project API key จาก General Settings ของ project ของคุณ
- สำหรับ private endpoints ใช้ Personal API key จาก Personal API Keys Settings ของ User account ของคุณ ดูข้อมูลเพิ่มเติมที่ How to obtain a personal API key