Google Gemini(PaLM) credentials#
คุณสามารถใช้ credentials เหล่านี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้:
Prerequisites#
- สร้างบัญชี Google Cloud
- สร้าง Google Cloud Platform project
Supported authentication methods#
- Gemini(PaLM) API key
Related resources#
ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้ได้ที่ Google's Gemini API documentation
ดูเอกสาร Advanced AI ของ n8n
Using Gemini(PaLM) API key#
ในการกำหนดค่า credential นี้ คุณจะต้องมี:
- API Host URL: ทั้ง PaLM และ Gemini ใช้ค่าเริ่มต้น
https://generativelanguage.googleapis.com
- API Key: สร้าง key ใน Google AI Studio
Custom hosts not supported
node ที่เกี่ยวข้องยังไม่รองรับ custom hosts หรือ proxies สำหรับ API host และต้องใช้ 'https://generativelanguage.googleapis.com'
วิธีสร้าง API key:
- ไปที่หน้า API Key ใน Google AI Studio: https://makersuite.google.com/app/apikey
- เลือก Create API Key
- คุณสามารถเลือกได้ว่าจะ Create API key in new project หรือค้นหา Google Cloud project ที่มีอยู่เพื่อ Create API key in existing project
- คัดลอก API key ที่สร้างขึ้นและเพิ่มลงใน credential ของ n8n