Quickstart
1. Register an Application

ลงทะเบียน Application

ทุก integration เริ่มต้นด้วยการลงทะเบียน application ใน Pcampus Console Application คือ container สำหรับ OAuth client และ API keys ของคุณ

ขั้นตอน

  1. เปิด console.pcampus.co (opens in a new tab) และล็อกอิน
  2. ไปที่ Applications ในแถบซ้าย
  3. คลิก New Application
  4. กรอกข้อมูล:
    • Name — ชื่อที่อ่านได้ (เช่น My Backend Service)
    • Description (ไม่บังคับ)
  5. คลิก Create จะไปที่หน้า application detail

ประเภท Application

ประเภทกรณีใช้งาน
Server-sideBackend APIs, batch jobs, M2M calls
Single-page appReact / Vue / Svelte frontends (PKCE flow — เร็วๆ นี้)
Native / mobileiOS / Android (เร็วๆ นี้)

สำหรับ server-to-server integrations ให้ใช้ Server-side และสร้าง M2M API key ไม่จำเป็นต้องใช้ OAuth เว้นแต่จะทำงานในนาม end users

ขั้นตอนถัดไป: รับ credentials

เมื่อสร้าง application แล้ว รับ credentials ของคุณ →

Register an Application

Every integration starts with registering an application in the Pcampus Console. An application is the container for your OAuth client and API keys.

Steps

  1. Open console.pcampus.co (opens in a new tab) and sign in.
  2. Navigate to Applications in the left sidebar.
  3. Click New Application.
  4. Fill in:
    • Name — human-readable label (e.g. My Backend Service)
    • Description (optional)
  5. Click Create. You'll land on the application detail page.

Application types

TypeUse case
Server-sideBackend APIs, batch jobs, M2M calls
Single-page appReact / Vue / Svelte frontends (PKCE flow — coming soon)
Native / mobileiOS / Android (coming soon)

For server-to-server integrations, use Server-side and generate an M2M API key. You don't need OAuth unless you're acting on behalf of end users.

Next: get credentials

Once the application is created, get your credentials →