{"title":"Quick Start (Human)","slug":"quick-start","category":"getting-started","summary":"สมัครบัญชี, สร้าง mind แรก, เก็บ memory — ทั้งหมดใน 5 นาที","audience":["human"],"tags":["quickstart","human","register","mind-key"],"difficulty":"beginner","updated":"2026-06-27","word_count":257,"read_minutes":1,"lang":"th","translated":true,"requested_lang":"th","content_markdown":"\n# Quick Start (Human)\n\nคู่มือนี้นำคุณผ่านการสมัครบัญชี Synapse, Mind Key แรก และเก็บ memory แรก เวลารวม: ~5 นาที\n\n## ขั้นตอนที่ 1: สมัครบัญชี\n\nเปิด Synapse API และสร้างบัญชี:\n\n```bash\ncurl -X POST https://synapse.schaefer.zone/register \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"email\": \"you@example.com\",\n    \"password\": \"your-secure-password\"\n  }'\n```\n\nResponse:\n\n```json\n{\n  \"jwt\": \"eyJhbGci...\",\n  \"user\": { \"id\": \"u_abc123\", \"email\": \"you@example.com\" }\n}\n```\n\n> [!TIP]\n> บันทึก JWT ไว้ที่ปลอดภัย — คุณต้องใช้เพื่อสร้าง mind JWT หมดอายุหลัง 7 วัน; ล็อกอินใหม่ด้วย endpoint เดียวกันเพื่อ refresh\n\n## ขั้นตอนที่ 2: สร้าง Mind แรกของคุณ\n\n\"mind\" คือ scope memory ที่แยกออก ผู้ใช้ส่วนใหญ่เริ่มด้วย mind เดียว แต่คุณสามารถมีหลาย mind ได้ (เช่น \"work\", \"personal\", \"project-x\") แต่ละ mind มี Mind Key ที่ไม่ซ้ำกัน\n\n```bash\ncurl -X POST https://synapse.schaefer.zone/minds \\\n  -H \"Authorization: Bearer YOUR_JWT\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"name\": \"My First Mind\",\n    \"description\": \"Personal assistant memory\"\n  }'\n```\n\nResponse:\n\n```json\n{\n  \"id\": \"m_xyz789\",\n  \"name\": \"My First Mind\",\n  \"mind_key\": \"mk_aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789\",\n  \"created_at\": \"2026-06-27T...\"\n}\n```\n\n> [!CRITICAL]\n> **บันทึก `mind_key` ทันที** แสดงเพียงครั้งเดียวและดึงคืนไม่ได้ หากคุณสูญเสีย ต้องสร้าง mind ใหม่\n\n## ขั้นตอนที่ 3: เก็บ Memory แรกของคุณ\n\nตอนนี้ใช้ Mind Key เพื่อเก็บ memory:\n\n```bash\ncurl -X POST https://synapse.schaefer.zone/memory \\\n  -H \"Authorization: Bearer YOUR_MIND_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"category\": \"identity\",\n    \"key\": \"user_name\",\n    \"content\": \"My name is Michael\",\n    \"tags\": [\"personal\", \"identity\"],\n    \"priority\": \"critical\"\n  }'\n```\n\nResponse:\n\n```json\n{\n  \"id\": \"mem_001\",\n  \"status\": \"stored\",\n  \"mind_id\": \"m_xyz789\"\n}\n```\n\n## ขั้นตอนที่ 4: Recall Memory ทั้งหมด\n\nเพื่อดึงทุกสิ่งที่คุณเก็บไว้:\n\n```bash\ncurl -H \"Authorization: Bearer YOUR_MIND_KEY\" \\\n     https://synapse.schaefer.zone/memory/recall\n```\n\nResponse (plain text, ปรับให้เหมาะกับการบริโภคของ LLM):\n\n```\nMind: My First Mind\nMemories: 1 total (1 verified)\n\n[001] identity (CRITICAL)\n  user_name\n  My name is Michael\n  Tags: personal, identity\n  Stored: 2026-06-27\n```\n\n## ขั้นตอนที่ 5: ค้นหา Memory\n\nหา memory เฉพาะตาม keyword:\n\n```bash\ncurl -H \"Authorization: Bearer YOUR_MIND_KEY\" \\\n     \"https://synapse.schaefer.zone/memory/search?q=michael\"\n```\n\n## ขั้นตอนที่ 6: เชื่อมต่อ LLM ของคุณ\n\nวิธีที่ง่ายที่สุดในการให้ LLM เข้าถึง Synapse คือผ่าน MCP:\n\n- [Claude Desktop setup](/docs/mcp/claude-desktop) — config 2 นาที\n- [Claude Code setup](/docs/mcp/claude-code) — integration terminal\n- [Cursor setup](/docs/mcp/cursor) — integration IDE\n\nหลังตั้งค่า LLM ของคุณจะเรียก `memory_recall` โดยอัตโนมัติที่จุดเริ่มต้นของทุก session และเก็บ fact ใหม่ผ่าน `memory_store`\n\n## Memory Category\n\nSynapse รองรับ 8 category — เลือกอันที่เฉพาะเจาะจงที่สุด:\n\n| Category | กรณีใช้งาน |\n|----------|----------|\n| `identity` | ชื่อผู้ใช้, role, ข้อมูลติดต่อ |\n| `preference` | สิ่งที่ชอบ/ไม่ชอบ, สไตล์การทำงาน |\n| `fact` | fact ที่ตรวจสอบได้ (รายละเอียดโปรเจกต์, วันที่) |\n| `project` | สถานะโปรเจกต์, milestone, todo |\n| `skill` | สิ่งที่ผู้ใช้ทำได้ดี |\n| `mistake` | error ในอดีต — หลีกเลี่ยงการทำซ้ำ |\n| `context` | context ที่เกี่ยวข้องกับ session |\n| `note` | note อื่น ๆ |\n\n## ระดับ Priority\n\n- `low` — รู้ไว้ก็ดี\n- `normal` — ค่าเริ่มต้น\n- `high` — สำคัญ\n- `critical` — ต้องไม่ลืมเด็ดขาด (ตัวตนผู้ใช้, ข้อมูลทางกฎหมาย)\n\n## ขั้นตอนถัดไป\n\n- [Authentication deep-dive](/docs/getting-started/authentication)\n- [Mind Key vs JWT](/docs/getting-started/mind-key-vs-jwt)\n- [Memory API reference](/docs/api/memory)\n- [MCP integration](/docs/mcp/what-is-mcp)\n","content_html":"<h1>Quick Start (Human)</h1>\n<p>คู่มือนี้นำคุณผ่านการสมัครบัญชี Synapse, Mind Key แรก และเก็บ memory แรก เวลารวม: ~5 นาที</p>\n<h2>ขั้นตอนที่ 1: สมัครบัญชี</h2>\n<p>เปิด Synapse API และสร้างบัญชี:</p>\n<pre><code class=\"hljs language-bash\">curl -X POST https://synapse.schaefer.zone/register \\\n  -H <span class=\"hljs-string\">&quot;Content-Type: application/json&quot;</span> \\\n  -d <span class=\"hljs-string\">&#x27;{\n    &quot;email&quot;: &quot;you@example.com&quot;,\n    &quot;password&quot;: &quot;your-secure-password&quot;\n  }&#x27;</span></code></pre><p>Response:</p>\n<pre><code class=\"hljs language-json\"><span class=\"hljs-punctuation\">{</span>\n  <span class=\"hljs-attr\">&quot;jwt&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;eyJhbGci...&quot;</span><span class=\"hljs-punctuation\">,</span>\n  <span class=\"hljs-attr\">&quot;user&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">{</span> <span class=\"hljs-attr\">&quot;id&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;u_abc123&quot;</span><span class=\"hljs-punctuation\">,</span> <span class=\"hljs-attr\">&quot;email&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;you@example.com&quot;</span> <span class=\"hljs-punctuation\">}</span>\n<span class=\"hljs-punctuation\">}</span></code></pre><div class=\"callout callout-ok\">บันทึก JWT ไว้ที่ปลอดภัย — คุณต้องใช้เพื่อสร้าง mind JWT หมดอายุหลัง 7 วัน; ล็อกอินใหม่ด้วย endpoint เดียวกันเพื่อ refresh</div><h2>ขั้นตอนที่ 2: สร้าง Mind แรกของคุณ</h2>\n<p>&quot;mind&quot; คือ scope memory ที่แยกออก ผู้ใช้ส่วนใหญ่เริ่มด้วย mind เดียว แต่คุณสามารถมีหลาย mind ได้ (เช่น &quot;work&quot;, &quot;personal&quot;, &quot;project-x&quot;) แต่ละ mind มี Mind Key ที่ไม่ซ้ำกัน</p>\n<pre><code class=\"hljs language-bash\">curl -X POST https://synapse.schaefer.zone/minds \\\n  -H <span class=\"hljs-string\">&quot;Authorization: Bearer YOUR_JWT&quot;</span> \\\n  -H <span class=\"hljs-string\">&quot;Content-Type: application/json&quot;</span> \\\n  -d <span class=\"hljs-string\">&#x27;{\n    &quot;name&quot;: &quot;My First Mind&quot;,\n    &quot;description&quot;: &quot;Personal assistant memory&quot;\n  }&#x27;</span></code></pre><p>Response:</p>\n<pre><code class=\"hljs language-json\"><span class=\"hljs-punctuation\">{</span>\n  <span class=\"hljs-attr\">&quot;id&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;m_xyz789&quot;</span><span class=\"hljs-punctuation\">,</span>\n  <span class=\"hljs-attr\">&quot;name&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;My First Mind&quot;</span><span class=\"hljs-punctuation\">,</span>\n  <span class=\"hljs-attr\">&quot;mind_key&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;mk_aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789&quot;</span><span class=\"hljs-punctuation\">,</span>\n  <span class=\"hljs-attr\">&quot;created_at&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;2026-06-27T...&quot;</span>\n<span class=\"hljs-punctuation\">}</span></code></pre><div class=\"callout callout-critical\">**บันทึก `mind_key` ทันที** แสดงเพียงครั้งเดียวและดึงคืนไม่ได้ หากคุณสูญเสีย ต้องสร้าง mind ใหม่</div><h2>ขั้นตอนที่ 3: เก็บ Memory แรกของคุณ</h2>\n<p>ตอนนี้ใช้ Mind Key เพื่อเก็บ memory:</p>\n<pre><code class=\"hljs language-bash\">curl -X POST https://synapse.schaefer.zone/memory \\\n  -H <span class=\"hljs-string\">&quot;Authorization: Bearer YOUR_MIND_KEY&quot;</span> \\\n  -H <span class=\"hljs-string\">&quot;Content-Type: application/json&quot;</span> \\\n  -d <span class=\"hljs-string\">&#x27;{\n    &quot;category&quot;: &quot;identity&quot;,\n    &quot;key&quot;: &quot;user_name&quot;,\n    &quot;content&quot;: &quot;My name is Michael&quot;,\n    &quot;tags&quot;: [&quot;personal&quot;, &quot;identity&quot;],\n    &quot;priority&quot;: &quot;critical&quot;\n  }&#x27;</span></code></pre><p>Response:</p>\n<pre><code class=\"hljs language-json\"><span class=\"hljs-punctuation\">{</span>\n  <span class=\"hljs-attr\">&quot;id&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;mem_001&quot;</span><span class=\"hljs-punctuation\">,</span>\n  <span class=\"hljs-attr\">&quot;status&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;stored&quot;</span><span class=\"hljs-punctuation\">,</span>\n  <span class=\"hljs-attr\">&quot;mind_id&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;m_xyz789&quot;</span>\n<span class=\"hljs-punctuation\">}</span></code></pre><h2>ขั้นตอนที่ 4: Recall Memory ทั้งหมด</h2>\n<p>เพื่อดึงทุกสิ่งที่คุณเก็บไว้:</p>\n<pre><code class=\"hljs language-bash\">curl -H <span class=\"hljs-string\">&quot;Authorization: Bearer YOUR_MIND_KEY&quot;</span> \\\n     https://synapse.schaefer.zone/memory/recall</code></pre><p>Response (plain text, ปรับให้เหมาะกับการบริโภคของ LLM):</p>\n<pre><code class=\"hljs language-plaintext\">Mind: My First Mind\nMemories: 1 total (1 verified)\n\n[001] identity (CRITICAL)\n  user_name\n  My name is Michael\n  Tags: personal, identity\n  Stored: 2026-06-27</code></pre><h2>ขั้นตอนที่ 5: ค้นหา Memory</h2>\n<p>หา memory เฉพาะตาม keyword:</p>\n<pre><code class=\"hljs language-bash\">curl -H <span class=\"hljs-string\">&quot;Authorization: Bearer YOUR_MIND_KEY&quot;</span> \\\n     <span class=\"hljs-string\">&quot;https://synapse.schaefer.zone/memory/search?q=michael&quot;</span></code></pre><h2>ขั้นตอนที่ 6: เชื่อมต่อ LLM ของคุณ</h2>\n<p>วิธีที่ง่ายที่สุดในการให้ LLM เข้าถึง Synapse คือผ่าน MCP:</p>\n<ul>\n<li><a href=\"/docs/mcp/claude-desktop\">Claude Desktop setup</a> — config 2 นาที</li>\n<li><a href=\"/docs/mcp/claude-code\">Claude Code setup</a> — integration terminal</li>\n<li><a href=\"/docs/mcp/cursor\">Cursor setup</a> — integration IDE</li>\n</ul>\n<p>หลังตั้งค่า LLM ของคุณจะเรียก <code>memory_recall</code> โดยอัตโนมัติที่จุดเริ่มต้นของทุก session และเก็บ fact ใหม่ผ่าน <code>memory_store</code></p>\n<h2>Memory Category</h2>\n<p>Synapse รองรับ 8 category — เลือกอันที่เฉพาะเจาะจงที่สุด:</p>\n<table>\n<thead>\n<tr>\n<th>Category</th>\n<th>กรณีใช้งาน</th>\n</tr>\n</thead>\n<tbody><tr>\n<td><code>identity</code></td>\n<td>ชื่อผู้ใช้, role, ข้อมูลติดต่อ</td>\n</tr>\n<tr>\n<td><code>preference</code></td>\n<td>สิ่งที่ชอบ/ไม่ชอบ, สไตล์การทำงาน</td>\n</tr>\n<tr>\n<td><code>fact</code></td>\n<td>fact ที่ตรวจสอบได้ (รายละเอียดโปรเจกต์, วันที่)</td>\n</tr>\n<tr>\n<td><code>project</code></td>\n<td>สถานะโปรเจกต์, milestone, todo</td>\n</tr>\n<tr>\n<td><code>skill</code></td>\n<td>สิ่งที่ผู้ใช้ทำได้ดี</td>\n</tr>\n<tr>\n<td><code>mistake</code></td>\n<td>error ในอดีต — หลีกเลี่ยงการทำซ้ำ</td>\n</tr>\n<tr>\n<td><code>context</code></td>\n<td>context ที่เกี่ยวข้องกับ session</td>\n</tr>\n<tr>\n<td><code>note</code></td>\n<td>note อื่น ๆ</td>\n</tr>\n</tbody></table>\n<h2>ระดับ Priority</h2>\n<ul>\n<li><code>low</code> — รู้ไว้ก็ดี</li>\n<li><code>normal</code> — ค่าเริ่มต้น</li>\n<li><code>high</code> — สำคัญ</li>\n<li><code>critical</code> — ต้องไม่ลืมเด็ดขาด (ตัวตนผู้ใช้, ข้อมูลทางกฎหมาย)</li>\n</ul>\n<h2>ขั้นตอนถัดไป</h2>\n<ul>\n<li><a href=\"/docs/getting-started/authentication\">Authentication deep-dive</a></li>\n<li><a href=\"/docs/getting-started/mind-key-vs-jwt\">Mind Key vs JWT</a></li>\n<li><a href=\"/docs/api/memory\">Memory API reference</a></li>\n<li><a href=\"/docs/mcp/what-is-mcp\">MCP integration</a></li>\n</ul>\n","urls":{"html":"/docs/getting-started/quick-start","text":"/docs/getting-started/quick-start?format=text","json":"/docs/getting-started/quick-start?format=json","llm":"/docs/getting-started/quick-start?format=llm"},"translations_available":["en","zh","hi","es","fr","ar","pt","ru","ja","de","it","ko","nl","pl","tr","sv","vi","th","id","uk"]}